/external/chromium_org/chrome/browser/sync/glue/ |
H A D | sync_start_util.cc | 10 #include "chrome/browser/profiles/profile.h" 18 void StartSyncOnUIThread(const base::FilePath& profile, argument 27 Profile* p = profile_manager->GetProfileByPath(profile); 35 DVLOG(2) << "No ProfileSyncService for profile, can't start sync."; 41 void StartSyncProxy(const base::FilePath& profile, argument 45 base::Bind(&StartSyncOnUIThread, profile, type));
|
/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
|
H A D | sync_global_error_factory.cc | 9 #include "chrome/browser/profiles/profile.h" 32 Profile* profile) { 34 GetInstance()->GetServiceForBrowserContext(profile, true)); 49 Profile* profile = static_cast<Profile*>(context); 51 ProfileSyncServiceFactory::GetForProfile(profile); 31 GetForProfile( Profile* profile) argument
|
H A D | sync_startup_tracker.cc | 7 #include "chrome/browser/profiles/profile.h" 11 SyncStartupTracker::SyncStartupTracker(Profile* profile, Observer* observer) argument 12 : profile_(profile), 51 Profile* profile) { 53 if (!profile->IsSyncAccessible()) 57 ProfileSyncServiceFactory::GetForProfile(profile); 60 if (!profile->IsSyncAccessible() || !service || 50 GetSyncServiceState( Profile* profile) argument
|
/external/chromium_org/chrome/browser/sync/test/integration/ |
H A D | single_client_supervised_user_settings_sync_test.cc | 8 #include "chrome/browser/profiles/profile.h" 34 Profile* profile = GetProfile(i); local 43 SupervisedUserSettingsServiceFactory::GetForProfile(profile);
|
H A D | sync_extension_installer.cc | 13 SyncedExtensionInstaller::SyncedExtensionInstaller(Profile* profile) argument 14 : profile_(profile),
|
/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/themes/ |
H A D | theme_service_browsertest.cc | 10 #include "chrome/browser/profiles/profile.h" 47 Profile* profile = browser()->profile(); local 48 ThemeService* theme_service = ThemeServiceFactory::GetForProfile(profile); 55 profile->GetPrefs()->GetFilePath(prefs::kCurrentThemePackFilename)); 64 profile->GetPrefs()->GetFilePath(prefs::kCurrentThemePackFilename)); 69 profile->GetPrefs()->SetFilePath( 76 browser()->profile());
|
/external/chromium_org/chrome/browser/thumbnails/ |
H A D | thumbnail_service_factory.cc | 26 Profile* profile) { 28 GetInstance()->GetServiceForBrowserContext(profile, true).get()); 38 content::BrowserContext* profile) const { 40 new ThumbnailServiceImpl(static_cast<Profile*>(profile))); 25 GetForProfile( Profile* profile) argument
|
/external/chromium_org/chrome/browser/ui/android/tab_model/ |
H A D | tab_model_unittest.cc | 29 explicit TestTabModel(Profile* profile) argument 30 : TabModel(profile) {} 56 // Verify TabModel has the correct profile and profile type. 60 // Notify profile is being destroyed and verify pointer is cleared. 77 // Verify TabModel has the correct profile and profile type. 81 // Notify profile is being destroyed and verify pointer is cleared.
|
/external/chromium_org/chrome/browser/ui/android/ |
H A D | tab_restore_service_delegate_android.cc | 13 Profile* profile, 12 Create( Profile* profile, chrome::HostDesktopType host_desktop_type, const std::string& app_name) argument
|
/external/chromium_org/chrome/browser/ui/app_list/ |
H A D | app_list_shower_views.h | 31 Profile* profile() const { return profile_; } function in class:AppListShower 41 void WarmupForProfile(Profile* profile); 60 // The profile currently shown by |app_list_|.
|
H A D | start_page_service_factory.cc | 9 #include "chrome/browser/profiles/profile.h" 20 StartPageService* StartPageServiceFactory::GetForProfile(Profile* profile) { argument 27 GetInstance()->GetServiceForBrowserContext(profile, true)); 48 Profile* profile = static_cast<Profile*>(context); local 49 return new StartPageService(profile);
|
/external/chromium_org/chrome/browser/ui/app_list/search/webstore/ |
H A D | webstore_installer.cc | 10 Profile* profile, 14 profile, 9 WebstoreInstaller(const std::string& webstore_item_id, Profile* profile, gfx::NativeWindow parent_window, const Callback& callback) argument
|
/external/chromium_org/chrome/browser/ui/ash/ |
H A D | app_sync_ui_state_factory.cc | 7 #include "chrome/browser/profiles/profile.h" 14 AppSyncUIState* AppSyncUIStateFactory::GetForProfile(Profile* profile) { argument 15 if (!AppSyncUIState::ShouldObserveAppSyncForProfile(profile)) 19 GetInstance()->GetServiceForBrowserContext(profile, true)); 40 Profile* profile = static_cast<Profile*>(context); local 41 DCHECK(AppSyncUIState::ShouldObserveAppSyncForProfile(profile)); 42 return new AppSyncUIState(profile);
|
/external/chromium_org/chrome/browser/ui/autofill/ |
H A D | mock_autofill_dialog_view_delegate.cc | 66 void MockAutofillDialogViewDelegate::SetProfile(Profile* profile) { argument 67 testing::DefaultValue<Profile*>::Set(profile);
|
/external/chromium_org/chrome/browser/ui/bookmarks/ |
H A D | bookmark_drag_drop.cc | 8 #include "chrome/browser/profiles/profile.h" 22 int DropBookmarks(Profile* profile, argument 27 BookmarkModel* model = BookmarkModelFactory::GetForProfile(profile); 31 if (data.IsFromProfilePath(profile->GetPath())) { 33 data.GetNodes(model, profile->GetPath()); 38 // Drag from same profile. Copy or move nodes. 51 // Dropping a folder from different profile. Always accept.
|
H A D | bookmark_ui_utils_unittest.cc | 64 TestingProfile profile; local 74 EXPECT_FALSE(chrome::HasBookmarkURLsAllowedInIncognitoMode(nodes, &profile)); 84 EXPECT_TRUE(chrome::HasBookmarkURLsAllowedInIncognitoMode(nodes, &profile)); 92 EXPECT_FALSE(chrome::HasBookmarkURLsAllowedInIncognitoMode(nodes, &profile)); 98 EXPECT_FALSE(chrome::HasBookmarkURLsAllowedInIncognitoMode(nodes, &profile)); 101 EXPECT_TRUE(chrome::HasBookmarkURLsAllowedInIncognitoMode(nodes, &profile)); 117 EXPECT_FALSE(chrome::HasBookmarkURLsAllowedInIncognitoMode(nodes, &profile));
|
H A D | bookmark_unittest.cc | 27 content::WebContents::CreateParams(browser()->profile())); 51 TestingProfile* profile = BrowserWithTestWindowTest::CreateProfile(); variable 55 profile, &BookmarkInstantExtendedTest::CreateTemplateURLService); 56 return profile; 61 content::BrowserContext* profile) { 63 static_cast<Profile*>(profile)->GetPrefs(), 60 CreateTemplateURLService( content::BrowserContext* profile) argument
|
/external/chromium_org/chrome/browser/ui/find_bar/ |
H A D | find_backend_unittest.cc | 31 Profile* profile = Profile::FromBrowserContext(contents->GetBrowserContext()); local 32 return FindBarStateFactory::GetLastPrepopulateText(profile); 48 WebContentsTester::CreateTestWebContents(profile(), NULL));
|
/external/chromium_org/chrome/browser/ui/global_error/ |
H A D | global_error_service_factory.cc | 8 #include "chrome/browser/profiles/profile.h" 13 GlobalErrorService* GlobalErrorServiceFactory::GetForProfile(Profile* profile) { argument 15 GetInstance()->GetServiceForBrowserContext(profile, true)); 33 content::BrowserContext* profile) const { 34 return new GlobalErrorService(static_cast<Profile*>(profile));
|
/external/chromium_org/chrome/browser/ui/location_bar/ |
H A D | location_bar.h | 32 explicit LocationBar(Profile* profile); 95 Profile* profile() { return profile_; } function in class:LocationBar
|
/external/chromium_org/chrome/browser/ui/ |
H A D | media_utils.cc | 8 #include "chrome/browser/profiles/profile.h" 20 const extensions::Extension* GetExtensionForOrigin(Profile* profile, argument 26 extensions::ExtensionSystem::Get(profile)->extension_service(); 38 Profile* profile, 43 extension = GetExtensionForOrigin(profile, request.security_origin); 53 Profile* profile = local 56 GetExtensionForOrigin(profile, security_origin); 36 RequestMediaAccessPermission( content::WebContents* web_contents, Profile* profile, const content::MediaStreamRequest& request, const content::MediaResponseCallback& callback) argument
|
/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/chrome/browser/ui/tabs/ |
H A D | pinned_tab_service.cc | 8 #include "chrome/browser/profiles/profile.h" 17 // profile (across all desktops). 21 it->profile() == browser->profile()) { 30 PinnedTabService::PinnedTabService(Profile* profile) argument 31 : profile_(profile), 68 browser->profile() == profile_) { 83 browser->profile() == profile_) {
|