/external/chromium_org/chrome/browser/autocomplete/ |
autocomplete_classifier_factory.cc | 11 #include "chrome/browser/profiles/profile.h" 18 Profile* profile) { 20 GetInstance()->GetServiceForBrowserContext(profile, true)); 30 content::BrowserContext* profile) { 31 return new AutocompleteClassifier(static_cast<Profile*>(profile)); 59 content::BrowserContext* profile) const { 60 return BuildInstanceFor(static_cast<Profile*>(profile)); [all...] |
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/extensions/ |
install_tracker_factory.cc | 13 #include "chrome/browser/profiles/profile.h" 19 InstallTracker* InstallTrackerFactory::GetForProfile(Profile* profile) { 21 GetInstance()->GetServiceForBrowserContext(profile, true)); 40 Profile* profile = static_cast<Profile*>(context); local 42 extensions::ExtensionSystem::Get(profile)->extension_service(); 43 return new InstallTracker(profile, service->extension_prefs()); 48 // The installs themselves are routed to the non-incognito profile and s [all...] |
extension_system_factory.cc | 11 #include "chrome/browser/profiles/profile.h" 22 ExtensionSystemSharedFactory::GetForProfile(Profile* profile) { 24 GetInstance()->GetServiceForBrowserContext(profile, true)); 49 content::BrowserContext* profile) const { 50 return new ExtensionSystemImpl::Shared(static_cast<Profile*>(profile)); 61 ExtensionSystem* ExtensionSystemFactory::GetForProfile(Profile* profile) { 63 GetInstance()->GetServiceForBrowserContext(profile, true)) [all...] |
scoped_gaia_auth_extension.cc | 11 #include "chrome/browser/profiles/profile.h" 24 extensions::ComponentLoader* GetComponentLoader(Profile* profile) { 26 extensions::ExtensionSystem::Get(profile); 31 void LoadGaiaAuthExtension(Profile* profile) { 32 extensions::ComponentLoader* component_loader = GetComponentLoader(profile); 55 void UnloadGaiaAuthExtension(Profile* profile) { 57 GetComponentLoader(profile)->Remove(kGaiaAuthId) [all...] |
/external/chromium_org/chrome/browser/managed_mode/ |
managed_user_service_factory.cc | 10 #include "chrome/browser/profiles/profile.h" 14 ManagedUserService* ManagedUserServiceFactory::GetForProfile(Profile* profile) { 16 GetInstance()->GetServiceForBrowserContext(profile, true)); 26 Profile* profile) { 27 return new ManagedUserService(profile); 45 content::BrowserContext* profile) const { 46 return BuildInstanceFor(static_cast<Profile*>(profile)); [all...] |
managed_user_service_browsertest.cc | 8 #include "chrome/browser/profiles/profile.h" 17 Profile* profile = browser()->profile(); local 18 PrefService* prefs = profile->GetPrefs(); 23 ManagedUserServiceFactory::GetForProfile(profile);
|
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/profiles/ |
profile_shortcut_manager.h | 19 // Create a profile icon for the profile with path |profile_path|. 25 // Create a profile shortcut for the profile with path |profile_path|, plus 26 // update the original profile shortcut if |profile_path| is the second 27 // profile created. 30 // Removes any desktop profile shortcuts for the profile corresponding to 34 // Checks if a profile at |profile_path| has any shortcuts and invokes 36 // non-profile specific shortcuts [all...] |
/external/chromium_org/chrome/browser/themes/ |
theme_service_factory.h | 12 class Profile; 20 // Profiles. Listens for the Profile's destruction notification and cleans up 25 // |profile|. Note that even if a Profile doesn't have a theme installed, it 27 static ThemeService* GetForProfile(Profile* profile); 30 // |profile|. Returns NULL if the theme is no longer installed, if there is 32 static const extensions::Extension* GetThemeForProfile(Profile* profile); 44 content::BrowserContext* profile) const OVERRIDE [all...] |
/external/chromium_org/chrome/browser/ui/ash/launcher/ |
launcher_app_tab_helper.cc | 8 #include "chrome/browser/profiles/profile.h" 14 const extensions::Extension* GetExtensionForTab(Profile* profile, 16 ExtensionService* extension_service = profile->GetExtensionService(); 22 const extensions::Extension* GetExtensionByID(Profile* profile, 24 ExtensionService* service = profile->GetExtensionService(); 32 LauncherAppTabHelper::LauncherAppTabHelper(Profile* profile) 33 : profile_(profile) { [all...] |
/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/apps/app_shim/ |
extension_app_shim_handler_mac.h | 19 class Profile; 46 virtual Profile* ProfileForPath(const base::FilePath& path); 48 base::Callback<void(Profile*)> callback); 51 Profile* profile, const std::string& extension_id); 54 Profile* profile, const std::string& extension_id); 55 virtual void LaunchApp(Profile* profile, 57 virtual void LaunchShim(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()) 128 Profile* profile = content::Source<Profile>(source).ptr(); local [all...] |
/external/chromium_org/chrome/browser/signin/ |
signin_manager_factory.cc | 28 Profile* profile) { 30 GetInstance()->GetServiceForBrowserContext(profile, false)); 35 Profile* profile) { 37 GetInstance()->GetServiceForBrowserContext(profile, true)); 42 SigninManager* SigninManagerFactory::GetForProfile(Profile* profile) { 44 GetInstance()->GetServiceForBrowserContext(profile, true)); 48 SigninManager* SigninManagerFactory::GetForProfileIfExists(Profile* profile) 91 Profile* profile = static_cast<Profile*>(context); local [all...] |
/external/chromium_org/chrome/browser/ui/app_list/ |
app_list_service_impl.h | 14 #include "chrome/browser/profiles/profile.h" 43 Profile* profile() const { return profile_; } function in class:AppListServiceImpl 44 void SetProfile(Profile* new_profile); 51 void HandleCommandLineFlags(Profile* initial_profile); 61 virtual void Init(Profile* initial_profile) OVERRIDE; 68 virtual void EnableAppList(Profile* initial_profile) OVERRIDE; 72 // Loads a profile asynchronously and calls OnProfileLoaded() when done. 75 // Callback for asynchronous profile load. 77 Profile* profile [all...] |
/external/chromium_org/chrome/browser/ui/webui/ |
signin_internals_ui.cc | 8 #include "chrome/browser/profiles/profile.h" 36 Profile* profile = Profile::FromWebUI(web_ui); local 37 content::WebUIDataSource::Add(profile, CreateSignInInternalsHTMLSource()); 38 if (profile) { 40 AboutSigninInternalsFactory::GetForProfile(profile); 47 Profile* profile = Profile::FromWebUI(web_ui()) local 61 Profile* profile = Profile::FromWebUI(web_ui()); local [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/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/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/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;
|