Searched defs:profile (Results 126 - 150 of 1666) sorted by relevance

1234567891011>>

/external/chromium_org/chrome/browser/sync/glue/
H A Dsync_start_util.cc10 #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 Dsync_error_notifier_factory_ash.cc9 #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 Dsync_global_error_factory.cc9 #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 Dsync_startup_tracker.cc7 #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 Dsingle_client_supervised_user_settings_sync_test.cc8 #include "chrome/browser/profiles/profile.h"
34 Profile* profile = GetProfile(i); local
43 SupervisedUserSettingsServiceFactory::GetForProfile(profile);
H A Dsync_extension_installer.cc13 SyncedExtensionInstaller::SyncedExtensionInstaller(Profile* profile) argument
14 : profile_(profile),
/external/chromium_org/chrome/browser/tab_contents/
H A Dtab_util.cc7 #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 Dtheme_service_browsertest.cc10 #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 Dthumbnail_service_factory.cc26 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 Dtab_model_unittest.cc29 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 Dtab_restore_service_delegate_android.cc13 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 Dapp_list_shower_views.h31 Profile* profile() const { return profile_; } function in class:AppListShower
41 void WarmupForProfile(Profile* profile);
60 // The profile currently shown by |app_list_|.
H A Dstart_page_service_factory.cc9 #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 Dwebstore_installer.cc10 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 Dapp_sync_ui_state_factory.cc7 #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 Dmock_autofill_dialog_view_delegate.cc66 void MockAutofillDialogViewDelegate::SetProfile(Profile* profile) { argument
67 testing::DefaultValue<Profile*>::Set(profile);
/external/chromium_org/chrome/browser/ui/bookmarks/
H A Dbookmark_drag_drop.cc8 #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 Dbookmark_ui_utils_unittest.cc64 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 Dbookmark_unittest.cc27 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 Dfind_backend_unittest.cc31 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 Dglobal_error_service_factory.cc8 #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 Dlocation_bar.h32 explicit LocationBar(Profile* profile);
95 Profile* profile() { return profile_; } function in class:LocationBar
/external/chromium_org/chrome/browser/ui/
H A Dmedia_utils.cc8 #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 Dinstant_tab.cc7 #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 Dpinned_tab_service.cc8 #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_) {

Completed in 283 milliseconds

1234567891011>>