/external/chromium/chrome/browser/profiles/ |
profile_keyed_service_factory.h | 10 class Profile; 14 // Base class for Factories that take a Profile object and return some service 24 typedef ProfileKeyedService* (*FactoryFunction)(Profile* profile); 27 // Associate an already-created |service| with |profile| for this factory. 31 void ForceAssociationBetween(Profile* profile, ProfileKeyedService* service) { 32 Associate(profile, service); 54 // Common implementation that maps |profile| to some service object. Deals 57 ProfileKeyedService* GetServiceForProfile(Profile* profile) [all...] |
/external/chromium_org/chrome/browser/ui/android/tab_model/ |
tab_model.cc | 10 #include "chrome/browser/profiles/profile.h" 18 TabModel::TabModel(Profile* profile) 19 : profile_(profile), 24 if (profile) { 25 // A normal Profile creates an OTR profile if it does not exist when 27 // HasOffTheRecordProfile(). An OTR profile returns itself when you call 29 is_off_the_record_ = (profile->HasOffTheRecordProfile() && 30 profile == profile->GetOffTheRecordProfile()) 117 Profile* profile = content::Source<Profile>(source).ptr(); local [all...] |
/external/chromium_org/chrome/browser/signin/ |
signin_manager_factory.cc | 29 Profile* profile) { 31 GetInstance()->GetServiceForBrowserContext(profile, false)); 36 Profile* profile) { 38 GetInstance()->GetServiceForBrowserContext(profile, true)); 43 SigninManager* SigninManagerFactory::GetForProfile(Profile* profile) { 45 GetInstance()->GetServiceForBrowserContext(profile, true)); 49 SigninManager* SigninManagerFactory::GetForProfileIfExists(Profile* profile) 97 Profile* profile = static_cast<Profile*>(context); local [all...] |
chrome_signin_manager_delegate.cc | 16 ChromeSigninManagerDelegate::ChromeSigninManagerDelegate(Profile* profile) 17 : profile_(profile) { 24 bool ChromeSigninManagerDelegate::ProfileAllowsSigninCookies(Profile* profile) { 26 CookieSettings::Factory::GetForProfile(profile).get();
|
/external/chromium_org/chrome/browser/ui/ash/launcher/ |
launcher_app_tab_helper.cc | 11 #include "chrome/browser/profiles/profile.h" 20 const extensions::Extension* GetExtensionForTab(Profile* profile, 22 ExtensionService* extension_service = profile->GetExtensionService(); 33 const extensions::Extension* GetExtensionByID(Profile* profile, 35 ExtensionService* extension_service = profile->GetExtensionService(); 43 LauncherAppTabHelper::LauncherAppTabHelper(Profile* profile) 44 : profile_(profile) { [all...] |
/external/chromium_org/chrome/browser/ui/webui/ |
signin_internals_ui.cc | 8 #include "chrome/browser/profiles/profile.h" 34 Profile* profile = Profile::FromWebUI(web_ui); local 35 content::WebUIDataSource::Add(profile, CreateSignInInternalsHTMLSource()); 36 if (profile) { 38 AboutSigninInternalsFactory::GetForProfile(profile); 45 Profile* profile = Profile::FromWebUI(web_ui()) local 59 Profile* profile = Profile::FromWebUI(web_ui()); local [all...] |
/external/chromium_org/chrome/browser/ui/webui/options/ |
create_profile_handler.h | 10 #include "chrome/browser/profiles/profile.h" 26 // Handler for the 'create profile' overlay. 40 // Represents the final profile creation status. It is used to map 47 // Represents errors that could occur during a profile creation. 56 // Represents the type of the in progress profile creation operation. 57 // It is used to map the type of the profile creation operation to the 66 // Asynchronously creates and initializes a new profile. 70 // 2: a flag stating whether we should create a profile desktop shortcut 76 // If a local error occurs during profile creation, then show an appropriate 77 // error message. However, if profile creation succeeded and th [all...] |
/external/chromium/chrome/browser/ |
background_contents_service_factory.h | 13 class Profile; 16 // Profiles. Listens for the Profile's destruction notification and cleans up 20 static BackgroundContentsService* GetForProfile(Profile* profile); 32 Profile* profile) const OVERRIDE;
|
background_mode_manager_factory.h | 13 class Profile; 16 // Profiles. Listens for the Profile's destruction notification and cleans up 20 static BackgroundModeManager* GetForProfile(Profile* profile); 32 Profile* profile) const OVERRIDE;
|
/external/chromium/chrome/browser/ui/views/bookmarks/ |
bookmark_bar_view_unittest.cc | 15 profile()->CreateBookmarkModel(true); 16 profile()->BlockUntilBookmarkModelLoaded(); 18 profile()->GetBookmarkModel()->AddURL( 19 profile()->GetBookmarkModel()->GetBookmarkBarNode(), 24 BookmarkBarView bookmark_bar(profile(), browser()); 36 bookmark_bar.SetProfile(profile());
|
/external/chromium/chrome/browser/ui/webui/chromeos/login/ |
mock_login_ui_helpers.h | 21 MOCK_METHOD0(GetDefaultProfile, Profile*()); 22 MOCK_METHOD0(GetDefaultProfileByPath, Profile*()); 33 MOCK_METHOD1(CreateBrowser, Browser*(Profile* profile)); 34 MOCK_METHOD1(GetLoginBrowser, Browser*(Profile* profile));
|
/external/chromium_org/chrome/browser/android/ |
content_view_util.cc | 9 #include "chrome/browser/profiles/profile.h" 16 Profile* profile = g_browser_process->profile_manager()->GetLastUsedProfile(); local 18 profile = profile->GetOffTheRecordProfile(); 21 content::WebContents::Create(content::WebContents::CreateParams(profile));
|
/external/chromium_org/chrome/browser/autocomplete/ |
autocomplete_classifier_factory.h | 13 class Profile; 19 // Returns the AutocompleteClassifier for |profile|. 20 static AutocompleteClassifier* GetForProfile(Profile* profile); 25 content::BrowserContext* profile); 38 content::BrowserContext* profile) const OVERRIDE;
|
/external/chromium_org/chrome/browser/chromeos/extensions/file_manager/ |
file_browser_private_api.h | 11 class Profile; 20 explicit FileBrowserPrivateAPI(Profile* profile); 26 // Convenience function to return the FileBrowserPrivateAPI for a Profile. 27 static FileBrowserPrivateAPI* Get(Profile* profile);
|
/external/chromium_org/chrome/browser/chromeos/extensions/ |
media_player_api.cc | 13 MediaPlayerAPI::MediaPlayerAPI(Profile* profile) : profile_(profile) { 20 MediaPlayerAPI* MediaPlayerAPI::Get(Profile* profile) { 21 return ProfileKeyedAPIFactory<MediaPlayerAPI>::GetForProfile(profile);
|
/external/chromium_org/chrome/browser/extensions/api/dial/ |
dial_api_factory.cc | 14 scoped_refptr<DialAPI> DialAPIFactory::GetForProfile(Profile* profile) { 16 GetInstance()->GetServiceForBrowserContext(profile, true).get()); 34 content::BrowserContext* profile) const { 35 return scoped_refptr<DialAPI>(new DialAPI(static_cast<Profile*>(profile)));
|
/external/chromium_org/chrome/browser/extensions/signin/ |
gaia_auth_extension_loader.h | 11 class Profile; 18 explicit GaiaAuthExtensionLoader(Profile* profile); 26 static GaiaAuthExtensionLoader* Get(Profile* profile); 43 Profile* profile_;
|
/external/chromium_org/chrome/browser/google/ |
google_url_tracker_factory.h | 13 class Profile; 18 // Returns the GoogleURLTracker for |profile|. This may return NULL for a 19 // testing profile. 20 static GoogleURLTracker* GetForProfile(Profile* profile); 32 content::BrowserContext* profile) const OVERRIDE;
|
/external/chromium_org/chrome/browser/managed_mode/ |
managed_user_service_factory.h | 13 class Profile; 17 static ManagedUserService* GetForProfile(Profile* profile); 22 static BrowserContextKeyedService* BuildInstanceFor(Profile* profile); 34 content::BrowserContext* profile) const OVERRIDE;
|
/external/chromium_org/chrome/browser/notifications/ |
desktop_notification_service_factory.h | 13 class Profile; 16 // Profiles. Listens for the Profile's destruction notification and cleans up 22 // for |profile|. 23 static DesktopNotificationService* GetForProfile(Profile* profile); 35 content::BrowserContext* profile) const OVERRIDE;
|
/external/chromium_org/chrome/browser/ |
platform_util_android.cc | 13 void ShowItemInFolder(Profile* profile, const base::FilePath& full_path) { 17 void OpenItem(Profile* profile, const base::FilePath& full_path) { 21 void OpenExternal(Profile* profile, const GURL& url) {
|
/external/chromium_org/chrome/browser/prerender/ |
prerender_manager_factory.h | 12 class Profile; 19 // Listens for the Profile's destruction notification and cleans up the 23 // Returns the PrerenderManager for |profile|. 24 static PrerenderManager* GetForProfile(Profile* profile); 36 content::BrowserContext* profile) const OVERRIDE;
|
/external/chromium_org/chrome/browser/printing/cloud_print/ |
cloud_print_proxy_service_factory.h | 13 class Profile; 16 // Profiles. Listens for the Profile's destruction notification and cleans up 20 // Returns the CloudPrintProxyService for |profile|, creating if not yet 22 static CloudPrintProxyService* GetForProfile(Profile* profile); 34 content::BrowserContext* profile) const OVERRIDE;
|
/external/chromium_org/chrome/browser/search_engines/ |
template_url_fetcher_factory.h | 11 class Profile; 18 static TemplateURLFetcher* GetForProfile(Profile* profile); 25 static void ShutdownForProfile(Profile* profile); 35 content::BrowserContext* profile) const OVERRIDE;
|
/external/chromium_org/chrome/browser/thumbnails/ |
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)));
|