/external/chromium_org/chrome/browser/chromeos/file_manager/ |
open_with_browser.cc | 16 #include "chrome/browser/profiles/profile.h" 72 bool IsPepperPluginEnabled(Profile* profile, 74 DCHECK(profile); 81 scoped_refptr<PluginPrefs> plugin_prefs = PluginPrefs::GetForProfile(profile); 88 bool IsPdfPluginEnabled(Profile* profile) { 89 DCHECK(profile); 93 return IsPepperPluginEnabled(profile, plugin_path); 96 bool IsFlashPluginEnabled(Profile* profile) [all...] |
/external/chromium_org/chrome/browser/sync/test/integration/ |
sync_app_helper.cc | 9 #include "chrome/browser/profiles/profile.h" 54 // Returns a map from |profile|'s installed extensions to their state. 55 AppStateMap GetAppStates(Profile* profile) { 58 ExtensionService* extension_service = profile->GetExtensionService(); 106 bool SyncAppHelper::AppStatesMatch(Profile* profile1, Profile* profile2) { 114 DVLOG(2) << "Number of Apps for profile " << profile1->GetDebugName() 115 << " does not match profile " << profile2->GetDebugName(); 123 DVLOG(2) << "Apps for profile " << profile1->GetDebugName( [all...] |
/external/chromium_org/chrome/browser/ui/views/accessibility/ |
accessibility_event_router_views.h | 18 class Profile; 39 // You can use Profile::PauseAccessibilityEvents to prevent a flurry 90 Profile* profile); 94 Profile* profile); 98 Profile* profile); 102 Profile* profile); [all...] |
/external/chromium_org/components/autofill/core/browser/ |
autofill_test_utils.cc | 86 FormGroup* profile, ServerFieldType type, const char* value) { 88 profile->SetRawInfo(type, UTF8ToUTF16(value)); 92 AutofillProfile profile(base::GenerateGUID(), "http://www.example.com/"); 93 SetProfileInfo(&profile, 105 return profile; 109 AutofillProfile profile(base::GenerateGUID(), "https://www.example.com/"); 110 SetProfileInfo(&profile, 122 return profile; 126 AutofillProfile profile(GetFullProfile()); 127 profile.set_origin(kSettingsOrigin) [all...] |
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
DeviceProfilesSettings.java | 130 // Add a preference for each profile 178 for (LocalBluetoothProfile profile : mCachedDevice.getConnectableProfiles()) { 179 Preference pref = createProfilePreference(profile); 197 * Creates a checkbox preference for the particular profile. The key will be 198 * the profile's name. 200 * @param profile The profile for which the preference controls. 201 * @return A preference that allows the user to choose whether this profile 204 private CheckBoxPreference createProfilePreference(LocalBluetoothProfile profile) { 206 pref.setKey(profile.toString()) 261 askDisconnect(getActivity(), profile); local [all...] |
/external/chromium_org/chrome/browser/sync/test/integration/performance/ |
sessions_sync_perf_test.cc | 28 // Opens |num_tabs| new tabs on |profile|. 29 void AddTabs(int profile, int num_tabs); 31 // Update all tabs in |profile| by visiting a new URL. 32 void UpdateTabs(int profile); 34 // Close all tabs in |profile|. 35 void RemoveTabs(int profile); 38 // |profile|. Returns -1 on failure. 39 int GetTabCount(int profile); 52 void SessionsSyncPerfTest::AddTabs(int profile, int num_tabs) { 57 OpenMultipleTabs(profile, urls) [all...] |
passwords_sync_perf_test.cc | 26 // Adds |num_logins| new unique passwords to |profile|. 27 void AddLogins(int profile, int num_logins); 29 // Updates the password for all logins for |profile|. 30 void UpdateLogins(int profile); 32 // Removes all logins for |profile|. 33 void RemoveLogins(int profile); 46 void PasswordsSyncPerfTest::AddLogins(int profile, int num_logins) { 48 AddLogin(GetPasswordStore(profile), NextLogin()); 52 void PasswordsSyncPerfTest::UpdateLogins(int profile) { 54 GetLogins(GetPasswordStore(profile), logins) [all...] |
typed_urls_sync_perf_test.cc | 38 // Adds |num_urls| new unique typed urls to |profile|. 39 void AddURLs(int profile, int num_urls); 41 // Update all typed urls in |profile| by visiting them once again. 42 void UpdateURLs(int profile); 44 // Removes all typed urls for |profile|. 45 void RemoveURLs(int profile); 47 // Returns the number of typed urls stored in |profile|. 48 int GetURLCount(int profile); 61 void TypedUrlsSyncPerfTest::AddURLs(int profile, int num_urls) { 63 AddUrlToHistory(profile, NextURL()) [all...] |
/external/chromium_org/chrome/browser/ui/app_list/ |
start_page_service.cc | 15 #include "chrome/browser/profiles/profile.h" 35 static StartPageService* GetForProfile(Profile* profile) { 42 GetInstance()->GetServiceForBrowserContext(profile, true)); 65 Profile* profile = static_cast<Profile*>(context); variable 66 return new StartPageService(profile); 79 content::Source<Profile>(service_->profile())); [all...] |
app_list_service.h | 18 class Profile; 35 static void InitAll(Profile* initial_profile); 53 // Show the app list for the profile configured in the user data dir for the 58 virtual void CreateForProfile(Profile* requested_profile) = 0; 60 // Show the app list for the given profile. If it differs from the profile the 62 // profile to local prefs as the default app list profile. 63 virtual void ShowForProfile(Profile* requested_profile) = 0; 68 // Get the profile the app list is currently showing [all...] |
/external/chromium_org/chrome/browser/profiles/ |
profile_manager_unittest.cc | 24 #include "chrome/browser/profiles/profile.h" 55 Profile* g_created_profile; 63 virtual Profile* CreateProfileHelper( 72 virtual Profile* CreateProfileAsyncHelper(const base::FilePath& path, 90 void(Profile* profile, Profile::CreateStatus status)); 114 // Helper function to create a profile with |name| for a profile |manager|. 145 dest_path = dest_path.Append(FILE_PATH_LITERAL("New Profile")); 150 Profile* profile = profile_manager->GetProfile(dest_path); local 363 Profile* profile; local 391 Profile* profile = profile_manager->GetProfile(dest_path); local 412 Profile* profile = profile_manager->GetLastUsedProfileAllowedByPolicy(); local 634 TestingProfile* profile = local [all...] |
profile_destroyer.cc | 11 #include "chrome/browser/profiles/profile.h" 26 void ProfileDestroyer::DestroyProfileWhenAppropriate(Profile* const profile) { 29 DCHECK(profile); 30 profile->MaybeSendDestroyedNotification(); 36 if (profile->AsTestingProfile() == NULL) { 37 GetHostsForProfile(profile, &hosts); 38 if (!profile->IsOffTheRecord() && profile->HasOffTheRecordProfile()) 39 GetHostsForProfile(profile->GetOffTheRecordProfile(), &hosts) [all...] |
profile.h | 5 // This class gathers state related to a single user profile. 71 // Instead of adding more members to Profile, consider creating a 73 // http://dev.chromium.org/developers/design-documents/profile-architecture 74 class Profile : public content::BrowserContext { 76 // Profile services are accessed with the following parameter. This parameter 79 // result in persistent implicit records while using an OffTheRecord profile. 80 // This flag allows the profile to perform an additional check. 95 // in the profile, as part of Chrome's implicit data logging. Use this flag 102 // Profile services were not created due to a local error (e.g., disk full). 104 // Profile services were not created due to a remote error (e.g., networ [all...] |
/external/chromium/chrome/browser/extensions/ |
extension_web_ui.h | 21 class Profile; 60 static bool HandleChromeURLOverride(GURL* url, Profile* profile); 65 static void RegisterChromeURLOverrides(Profile* profile, 67 static void UnregisterChromeURLOverrides(Profile* profile, 70 Profile* profile, 77 static void GetFaviconForURL(Profile* profile [all...] |
/external/chromium_org/apps/ |
app_lifetime_monitor.h | 21 class Profile; 34 virtual void OnAppStart(Profile* profile, const std::string& app_id) = 0; 36 virtual void OnAppActivated(Profile* profile, 39 virtual void OnAppDeactivated(Profile* profile, 42 virtual void OnAppStop(Profile* profile, const std::string& app_id) = 0; 45 // so there is no associated profile and app id [all...] |
app_lifetime_monitor_factory.cc | 10 #include "chrome/browser/profiles/profile.h" 16 AppLifetimeMonitor* AppLifetimeMonitorFactory::GetForProfile(Profile* profile) { 18 GetInstance()->GetServiceForBrowserContext(profile, false)); 35 content::BrowserContext* profile) const { 36 return new AppLifetimeMonitor(static_cast<Profile*>(profile));
|
/external/chromium_org/chrome/browser/bookmarks/ |
bookmark_model_factory.cc | 13 #include "chrome/browser/profiles/profile.h" 24 BookmarkModel* BookmarkModelFactory::GetForProfile(Profile* profile) { 26 GetInstance()->GetServiceForBrowserContext(profile, true)); 29 BookmarkModel* BookmarkModelFactory::GetForProfileIfExists(Profile* profile) { 31 GetInstance()->GetServiceForBrowserContext(profile, false)); 49 Profile* profile = static_cast<Profile*>(context) local [all...] |
/external/chromium_org/chromeos/dbus/ |
bluetooth_profile_manager_client.h | 19 // BluetoothProfileManagerClient is used to communicate with the profile 23 // Species the role of the object within the profile. SYMMETRIC should be 24 // usually used unless the profile requires you specify as a CLIENT or as a 32 // Options used to register a Profile object. 37 // Human readable name for the profile. 64 // Profile version. 67 // Profile features. 79 // Registers a profile implementation within the local process at the 80 // D-bus object path |profile_path| with the remote profile manager. 81 // |uuid| specifies the identifier of the profile and |options| the way i [all...] |
/external/chromium_org/chrome/browser/chromeos/policy/ |
policy_cert_service_factory.cc | 18 #include "chrome/browser/profiles/profile.h" 26 PolicyCertService* PolicyCertServiceFactory::GetForProfile(Profile* profile) { 28 GetInstance()->GetServiceForBrowserContext(profile, false)); 33 Profile* profile) { 34 DCHECK(!GetInstance()->GetServiceForBrowserContext(profile, false)); 36 GetInstance()->GetServiceForBrowserContext(profile, true)); 94 Profile* profile = static_cast<Profile*>(context) local [all...] |
/external/chromium_org/chrome/browser/extensions/api/app_runtime/ |
app_runtime_api.cc | 17 #include "chrome/browser/profiles/profile.h" 36 Profile* profile) { 46 extensions::ExtensionSystem::Get(profile); 49 event->restrict_to_browser_context = profile; 60 Profile* profile, const Extension* extension) { 62 DispatchOnLaunchedEventImpl(extension->id(), launch_data.Pass(), profile); 66 void AppEventRouter::DispatchOnRestartedEvent(Profile* profile, [all...] |
/external/chromium_org/chrome/browser/speech/ |
tts_extension_loader_chromeos.cc | 14 #include "chrome/browser/profiles/profile.h" 24 // Factory to load one instance of TtsExtensionLoaderChromeOs per profile. 28 static TtsExtensionLoaderChromeOs* GetForProfile(Profile* profile) { 30 GetInstance()->GetServiceForBrowserContext(profile, true)); 50 // If given an incognito profile (including the Chrome OS login 51 // profile), share the service with the original profile. 56 content::BrowserContext* profile) const OVERRIDE { 57 return new TtsExtensionLoaderChromeOs(static_cast<Profile*>(profile)) [all...] |
/external/chromium/chrome/browser/search_engines/ |
template_url_fetcher.h | 14 class Profile; 30 // Creates a TemplateURLFetcher with the specified Profile. 31 explicit TemplateURLFetcher(Profile* profile); 53 Profile* profile() const { return profile_; } function in class:TemplateURLFetcher 58 Profile* profile_;
|
/external/chromium/chrome/browser/service/ |
service_process_control_manager.cc | 9 #include "chrome/browser/profiles/profile.h" 21 Profile* profile) { 25 // service, but now we only create a new process for a different profile. 28 if ((*i)->profile() == profile) 33 ServiceProcessControl* process = new ServiceProcessControl(profile);
|
/external/chromium/chrome/browser/ui/views/location_bar/ |
keyword_hint_view.h | 17 class Profile; 32 explicit KeywordHintView(Profile* profile); 48 void set_profile(Profile* profile) { profile_ = profile; } 57 Profile* profile_;
|
selected_keyword_view.h | 14 class Profile; 26 Profile* profile); 39 void set_profile(Profile* profile) { profile_ = profile; } 54 Profile* profile_;
|