/external/chromium_org/chrome/browser/ui/search/ |
H A D | instant_tab.cc | 7 #include "chrome/browser/profiles/profile.h" 12 Profile* profile) 13 : InstantPage(delegate, "", profile, profile->IsOffTheRecord()) { 11 InstantTab(InstantPage::Delegate* delegate, Profile* profile) argument
|
/external/chromium_org/components/test/data/autofill/merge/tools/ |
H A D | flatten.py | 22 profile = [] 30 if len(profile): 31 # Reached the end of a profile. 32 # Save the current profile and prepare to build up the next one. 33 profiles.append(profile) 34 profile = [] 36 # Append the current field's value to the current profile. 41 profile.append("'%s'" % field_value) 44 profile[-1] += ", '%s'" % field_value 47 if len(profile) [all...] |
H A D | serialize_profiles.py | 40 for profile in cursor: 41 guid = profile[0] 42 profiles[guid] = zip(types, profile) 53 for profile in cursor: 54 guid = profile[0] 55 profiles[guid].extend(zip(types, profile)) 65 for profile in cursor: 66 guid = profile[0] 67 profiles[guid].extend(zip(types, profile)) 77 for profile i [all...] |
/external/chromium_org/chrome/browser/extensions/ |
H A D | extension_view_host_factory.cc | 10 #include "chrome/browser/profiles/profile.h" 28 // profile. 31 Profile* profile, 34 DCHECK(profile); 38 ExtensionSystem::Get(profile)->process_manager(); 54 Profile* profile, 58 DCHECK(profile->IsOffTheRecord()); 61 // If it's not split-mode the host is associated with the original profile. 62 Profile* original_profile = profile->GetOriginalProfile(); 68 if (util::IsIncognitoEnabled(extension->id(), profile)) { 29 CreateViewHostForExtension(const Extension* extension, const GURL& url, Profile* profile, Browser* browser, ViewType view_type) argument 52 CreateViewHostForIncognito(const Extension* extension, const GURL& url, Profile* profile, Browser* browser, ViewType view_type) argument 80 GetExtensionForUrl(Profile* profile, const GURL& url) argument 93 CreateViewHost(const GURL& url, Profile* profile, Browser* browser, extensions::ViewType view_type) argument 132 CreateDialogHost( const GURL& url, Profile* profile) argument [all...] |
H A D | data_deleter.cc | 10 #include "chrome/browser/profiles/profile.h" 35 void DeleteOrigin(Profile* profile, argument 40 DCHECK(profile); 57 profile->GetRequestContextForExtensions(), 74 ExtensionPrefs::Get(es->profile())->SetNeedsStorageGarbageCollection(true); 81 void DataDeleter::StartDeleting(Profile* profile, argument 84 DCHECK(profile); 89 profile, 90 util::GetSiteForExtensionId(extension->id(), profile), 93 ExtensionSystem::Get(profile) [all...] |
/external/chromium_org/chrome/browser/ui/ash/ |
H A D | chrome_new_window_delegate.cc | 21 void RestoreTabUsingProfile(Profile* profile) { argument 22 TabRestoreService* service = TabRestoreServiceFactory::GetForProfile(profile); 44 Profile* profile, 47 profile_(profile), 94 Profile* profile = ProfileManager::GetActiveUserProfile(); local 96 is_incognito ? profile->GetOffTheRecordProfile() : profile, 107 Profile* profile = browser ? browser->profile() : NULL; local 108 if (!profile) 43 TabRestoreHelper(ChromeNewWindowDelegate* delegate, Profile* profile, TabRestoreService* service) argument [all...] |
/external/chromium_org/chrome/browser/autocomplete/ |
H A D | shortcuts_backend_factory.h | 21 static scoped_refptr<ShortcutsBackend> GetForProfile(Profile* profile); 24 Profile* profile); 30 BuildProfileForTesting(content::BrowserContext* profile); 35 BuildProfileNoDatabaseForTesting(content::BrowserContext* profile); 45 BuildServiceInstanceFor(content::BrowserContext* profile) const OVERRIDE;
|
H A D | shortcuts_backend_factory.cc | 9 #include "chrome/browser/profiles/profile.h" 15 Profile* profile) { 17 GetInstance()->GetServiceForBrowserContext(profile, true).get()); 22 Profile* profile) { 24 GetInstance()->GetServiceForBrowserContext(profile, false).get()); 35 content::BrowserContext* profile) { 37 new ShortcutsBackend(static_cast<Profile*>(profile), false)); 46 content::BrowserContext* profile) { 48 new ShortcutsBackend(static_cast<Profile*>(profile), true)); 64 content::BrowserContext* profile) cons 14 GetForProfile( Profile* profile) argument 21 GetForProfileIfExists( Profile* profile) argument 34 BuildProfileForTesting( content::BrowserContext* profile) argument 45 BuildProfileNoDatabaseForTesting( content::BrowserContext* profile) argument [all...] |
/external/chromium_org/chrome/browser/chromeos/drive/ |
H A D | drive_integration_service_browsertest.cc | 8 #include "chrome/browser/profiles/profile.h" 22 browser()->profile())); 30 browser()->profile()->GetPrefs()->SetBoolean(prefs::kDisableDrive, false); 34 browser()->profile()); 40 browser()->profile()->GetPrefs()->SetBoolean(prefs::kDisableDrive, true); 44 browser()->profile()));
|
/external/chromium_org/chrome/browser/signin/ |
H A D | signin_error_notifier_factory_ash.cc | 9 #include "chrome/browser/profiles/profile.h" 26 Profile* profile) { 28 GetInstance()->GetServiceForBrowserContext(profile, true)); 41 Profile* profile = static_cast<Profile*>(context); 44 ProfileOAuth2TokenServiceFactory::GetForProfile(profile)-> 47 return new SigninErrorNotifier(controller, profile); 25 GetForProfile( Profile* profile) argument
|
H A D | signin_global_error_factory.cc | 8 #include "chrome/browser/profiles/profile.h" 31 Profile* profile) { 33 GetInstance()->GetServiceForBrowserContext(profile, true)); 48 Profile* profile = static_cast<Profile*>(context); 51 ProfileOAuth2TokenServiceFactory::GetForProfile(profile)-> 54 return new SigninGlobalError(controller, profile); 30 GetForProfile( Profile* profile) argument
|
/external/chromium_org/chrome/browser/sync/ |
H A D | sync_error_notifier_factory_ash.cc | 9 #include "chrome/browser/profiles/profile.h" 26 Profile* profile) { 28 GetInstance()->GetServiceForBrowserContext(profile, true)); 41 Profile* profile = static_cast<Profile*>(context); 43 ProfileSyncServiceFactory::GetForProfile(profile); 53 return new SyncErrorNotifier(sync_error_controller, profile); 25 GetForProfile( Profile* profile) argument
|
/external/chromium_org/chrome/browser/sync/test/integration/ |
H A D | bookmarks_helper.h | 22 // Used to access the bookmark model within a particular sync profile. 25 // Used to access the bookmark bar within a particular sync profile. 28 // Used to access the "other bookmarks" node within a particular sync profile. 31 // Used to access the "Synced Bookmarks" node within a particular sync profile. 34 // Used to access the "Managed Bookmarks" node for the given profile. 37 // Used to access the bookmarks within the verifier sync profile. 41 // profile |profile|. Returns a pointer to the node that was added. 43 int profile, 48 // profile |profil [all...] |
/external/chromium_org/chrome/browser/tab_contents/ |
H A D | tab_util.cc | 7 #include "chrome/browser/profiles/profile.h" 34 SiteInstance* GetSiteInstanceForNewTab(Profile* profile, argument 38 if (ChromeWebUIControllerFactory::GetInstance()->UseWebUIForURL(profile, url)) 39 return SiteInstance::CreateForURL(profile, url); 43 profile)->enabled_extensions().GetHostedAppByURL(url)) 44 return SiteInstance::CreateForURL(profile, url);
|
/external/chromium_org/chrome/browser/ui/ |
H A D | browser_mac.cc | 7 #include "chrome/browser/profiles/profile.h" 14 void OpenAboutWindow(Profile* profile) { argument 16 new Browser(Browser::CreateParams(profile, 22 void OpenHistoryWindow(Profile* profile) { argument 24 new Browser(Browser::CreateParams(profile, 30 void OpenDownloadsWindow(Profile* profile) { argument 32 new Browser(Browser::CreateParams(profile, 38 void OpenHelpWindow(Profile* profile, HelpSource source) { argument 40 new Browser(Browser::CreateParams(profile, 46 void OpenOptionsWindow(Profile* profile) { argument 54 OpenSyncSetupWindow(Profile* profile, signin::Source source) argument 62 OpenClearBrowsingDataDialogWindow(Profile* profile) argument 70 OpenImportSettingsDialogWindow(Profile* profile) argument 78 OpenBookmarkManagerWindow(Profile* profile) argument 86 OpenExtensionsWindow(Profile* profile) argument [all...] |
H A D | browser_finder.h | 25 // Retrieve the last active tabbed browser with a profile matching |profile|. 27 // original profile, eg profile->GetOriginalProfile() == 28 // browser->profile()->GetOriginalProfile(). This has the effect of matching 32 Browser* FindTabbedBrowser(Profile* profile, 38 Browser* FindAnyBrowser(Profile* profile, 42 // Find an existing browser window with the provided profile and hosted in the 46 Browser* FindBrowserWithProfile(Profile* profile, HostDesktopType type); 59 // Returns the Browser object owned by |profile| o [all...] |
H A D | browser_finder.cc | 7 #include "chrome/browser/profiles/profile.h" 30 // . If it contains kMatchOriginalProfile then the original profile of the 31 // browser must match |profile->GetOriginalProfile()|. This is used to match 37 Profile* profile, 46 if (browser->profile()->GetOriginalProfile() != 47 profile->GetOriginalProfile()) 49 } else if (browser->profile() != profile) { 65 Profile* profile, 69 if (BrowserMatches(*i, profile, window_featur 36 BrowserMatches(Browser* browser, Profile* profile, Browser::WindowFeature window_feature, uint32 match_types) argument 63 FindBrowserMatching(const T& begin, const T& end, Profile* profile, Browser::WindowFeature window_feature, uint32 match_types) argument 75 FindBrowserWithTabbedOrAnyType(Profile* profile, chrome::HostDesktopType desktop_type, bool match_tabbed, bool match_original_profiles) argument 100 GetBrowserCountImpl(Profile* profile, chrome::HostDesktopType desktop_type, uint32 match_types) argument 119 FindTabbedBrowser(Profile* profile, bool match_original_profiles, HostDesktopType type) argument 128 FindAnyBrowser(Profile* profile, bool match_original_profiles, HostDesktopType type) argument 137 FindBrowserWithProfile(Profile* profile, HostDesktopType desktop_type) argument 170 FindLastActiveWithProfile(Profile* profile, HostDesktopType type) argument 194 GetTotalBrowserCountForProfile(Profile* profile) argument 203 GetBrowserCount(Profile* profile, HostDesktopType type) argument 207 GetTabbedBrowserCount(Profile* profile, HostDesktopType type) argument [all...] |
/external/chromium_org/chrome/browser/ui/webui/suggestions_internals/ |
H A D | suggestions_internals_ui.cc | 7 #include "chrome/browser/profiles/profile.h" 28 Profile* profile = Profile::FromWebUI(web_ui); local 29 content::WebUIDataSource::Add(profile, html_source); 31 profile, new FaviconSource(profile, FaviconSource::FAVICON)); 34 web_ui->AddMessageHandler(new SuggestionsInternalsUIHandler(profile));
|
/external/chromium_org/chrome/browser/search/ |
H A D | hotword_service_unittest.cc | 28 explicit MockHotwordService(Profile* profile) argument 29 : HotwordService(profile), 80 void SetApplicationLocale(Profile* profile, const std::string& new_locale) { argument 82 // On ChromeOS locale is per-profile. 83 profile->GetPrefs()->SetString(prefs::kApplicationLocale, new_locale); 95 scoped_ptr<TestingProfile> profile = profile_builder.Build(); local 103 hotword_service_factory->GetForProfile(profile.get()); 110 EXPECT_FALSE(HotwordServiceFactory::IsHotwordAllowed(profile.get())); 118 EXPECT_FALSE(HotwordServiceFactory::IsHotwordAllowed(profile.get())); 122 SetApplicationLocale(static_cast<Profile*>(profile 132 scoped_ptr<TestingProfile> profile = profile_builder.Build(); local 172 scoped_ptr<TestingProfile> profile = profile_builder.Build(); local [all...] |
/external/chromium_org/chrome/browser/favicon/ |
H A D | favicon_service_factory.cc | 18 Profile* profile, Profile::ServiceAccessType sat) { 19 if (!profile->IsOffTheRecord()) { 21 GetInstance()->GetServiceForBrowserContext(profile, true)); 26 profile->GetOriginalProfile(), true)); 30 NOTREACHED() << "This profile is OffTheRecord"; 50 content::BrowserContext* profile) const { 52 ChromeFaviconClientFactory::GetForProfile(static_cast<Profile*>(profile)); 53 return new FaviconService(static_cast<Profile*>(profile), favicon_client); 17 GetForProfile( Profile* profile, Profile::ServiceAccessType sat) argument
|
/external/chromium_org/chrome/browser/geolocation/ |
H A D | geolocation_permission_context_factory.cc | 8 #include "chrome/browser/profiles/profile.h" 22 explicit Service(Profile* profile) { argument 24 context_ = new GeolocationPermissionContextAndroid(profile); 26 context_ = new GeolocationPermissionContext(profile); 48 GeolocationPermissionContextFactory::GetForProfile(Profile* profile) { argument 50 GetInstance()->GetServiceForBrowserContext(profile, true))->context(); 70 content::BrowserContext* profile) const { 71 return new Service(static_cast<Profile*>(profile));
|
/external/chromium_org/chrome/browser/sync/test/integration/performance/ |
H A D | typed_urls_sync_perf_test.cc | 37 // Adds |num_urls| new unique typed urls to |profile|. 38 void AddURLs(int profile, int num_urls); 40 // Update all typed urls in |profile| by visiting them once again. 41 void UpdateURLs(int profile); 43 // Removes all typed urls for |profile|. 44 void RemoveURLs(int profile); 46 // Returns the number of typed urls stored in |profile|. 47 int GetURLCount(int profile); 60 void TypedUrlsSyncPerfTest::AddURLs(int profile, int num_urls) { argument 62 AddUrlToHistory(profile, NextUR 66 UpdateURLs(int profile) argument 74 RemoveURLs(int profile) argument 84 GetURLCount(int profile) argument [all...] |
/external/chromium_org/chrome/browser/resources/options/ |
H A D | manage_profile_overlay.css | 5 #manage-profile-overlay { 9 .profile-icon-grid-item { 16 .profile-icon { 21 #create-profile-name-input-container, 22 #manage-profile-name-input-container { 26 #create-profile-name-input-container { 30 #create-profile-name, 31 #manage-profile-name { 35 #create-profile-name:invalid, 36 #manage-profile [all...] |
/external/chromium_org/chrome/browser/password_manager/ |
H A D | password_manager_internals_service_unittest.cc | 32 scoped_ptr<TestingProfile> profile(builder.Build()); 38 ->MarkBrowserContextLiveForTesting(profile.get()); 41 ->MarkBrowserContextLiveForTesting(profile->GetOffTheRecordProfile()); 44 return profile.Pass(); 49 // When the profile is not incognito, it should be possible to activate the 52 scoped_ptr<TestingProfile> profile(CreateProfile(NORMAL_PROFILE)); 55 profile.get()); 58 ASSERT_TRUE(profile); 69 // When the browser profile is incognito, it should not be possible to activate 72 scoped_ptr<TestingProfile> profile(CreateProfil [all...] |
/external/chromium_org/chrome/browser/ui/android/tab_model/ |
H A D | tab_model.cc | 10 #include "chrome/browser/profiles/profile.h" 17 TabModel::TabModel(Profile* profile) argument 18 : profile_(profile), 22 if (profile) { 23 // A normal Profile creates an OTR profile if it does not exist when 25 // HasOffTheRecordProfile(). An OTR profile returns itself when you call 27 is_off_the_record_ = (profile->HasOffTheRecordProfile() && 28 profile == profile->GetOffTheRecordProfile()); 30 // A profile ca 89 Profile* profile = content::Source<Profile>(source).ptr(); local [all...] |