/external/chromium_org/chrome/browser/sync/test/integration/performance/ |
H A D | 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) { argument 57 OpenMultipleTabs(profile, url 60 UpdateTabs(int profile) argument 78 RemoveTabs(int profile) argument 82 GetTabCount(int profile) argument [all...] |
H A D | 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) { argument 48 AddLogin(GetPasswordStore(profile), NextLogin()); 52 void PasswordsSyncPerfTest::UpdateLogins(int profile) { argument 54 GetLogins(GetPasswordStore(profile), login 62 RemoveLogins(int profile) argument [all...] |
H A D | autofill_sync_perf_test.cc | 44 // Adds |num_profiles| new autofill profiles to the sync profile |profile|. 45 void AddProfiles(int profile, int num_profiles); 47 // Updates all autofill profiles for the sync profile |profile|. 48 void UpdateProfiles(int profile); 50 // Removes all autofill profiles from |profile|. 51 void RemoveProfiles(int profile); 53 // Adds |num_keys| new autofill keys to the sync profile |profile| 87 AddProfiles(int profile, int num_profiles) argument 100 UpdateProfiles(int profile) argument 112 RemoveProfiles(int profile) argument 117 AddKeys(int profile, int num_keys) argument 126 AutofillProfile profile; local 161 ForceSync(int profile) argument [all...] |
/external/chromium_org/chrome/browser/sync/test/integration/ |
H A D | sync_extension_helper.h | 34 // Installs the extension with the given name to |profile|, and returns the 36 std::string InstallExtension(Profile* profile, 40 // Uninstalls the extension with the given name from |profile|. 41 void UninstallExtension(Profile* profile, const std::string& name); 44 // on |profile|. 45 std::vector<std::string> GetInstalledExtensionNames(Profile* profile) const; 47 // Enables the extension with the given name on |profile|. 48 void EnableExtension(Profile* profile, const std::string& name); 50 // Disables the extension with the given name on |profile|. 51 void DisableExtension(Profile* profile, cons [all...] |
H A D | sync_app_helper.h | 30 // Gets the page ordinal value for the applications with |name| in |profile|. 31 syncer::StringOrdinal GetPageOrdinalForApp(Profile* profile, 35 // |profile|. 36 void SetPageOrdinalForApp(Profile* profile, 41 // |profile|. 42 syncer::StringOrdinal GetAppLaunchOrdinalForApp(Profile* profile, 46 // |profile|. 48 Profile* profile, 52 // Fix any NTP icon collisions that are currently in |profile|. 53 void FixNTPOrdinalCollisions(Profile* profile); [all...] |
H A D | themes_helper.cc | 32 ThemeService* GetThemeService(Profile* profile) { argument 33 return ThemeServiceFactory::GetForProfile(profile); 44 std::string GetThemeID(Profile* profile) { argument 45 return GetThemeService(profile)->GetThemeID(); 48 bool UsingCustomTheme(Profile* profile) { argument 49 return GetThemeID(profile) != ThemeService::kDefaultThemeID; 52 bool UsingDefaultTheme(Profile* profile) { argument 53 return GetThemeService(profile)->UsingDefaultTheme(); 56 bool UsingSystemTheme(Profile* profile) { argument 57 return GetThemeService(profile) 60 ThemeIsPendingInstall(Profile* profile, const std::string& id) argument 65 UseCustomTheme(Profile* profile, int index) argument 70 UseDefaultTheme(Profile* profile) argument 74 UseSystemTheme(Profile* profile) argument 111 ThemePendingInstallChecker(Profile* profile, const std::string& theme) argument 152 AwaitThemeIsPendingInstall(Profile* profile, const std::string& theme) argument 192 ThemeConditionChecker( Profile* profile, const std::string& debug_message, base::Callback<bool(ThemeService*)> exit_condition) argument 244 AwaitUsingSystemTheme(Profile* profile) argument 253 AwaitUsingDefaultTheme(Profile* profile) argument [all...] |
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/dom_distiller/ |
H A D | DomDistillerServiceFactory.java | 29 public static DomDistillerService getForProfile(Profile profile) { argument 31 DomDistillerService service = sServiceMap.get(profile); 33 service = (DomDistillerService) nativeGetForProfile(profile); 34 sServiceMap.put(profile, service); 39 private static native DomDistillerService nativeGetForProfile(Profile profile); argument
|
/external/chromium_org/chrome/browser/extensions/api/bookmarks/ |
H A D | bookmark_apitest.cc | 11 #include "chrome/browser/profiles/profile.h" 27 Profile* profile = browser()->profile(); local 28 BookmarkModel* model = BookmarkModelFactory::GetForProfile(profile); 30 ChromeBookmarkClientFactory::GetForProfile(profile); 42 profile->GetPrefs()->Set(bookmarks::prefs::kManagedBookmarks, list);
|
/external/chromium_org/chrome/browser/extensions/ |
H A D | extension_sync_service_factory.cc | 10 #include "chrome/browser/profiles/profile.h" 18 Profile* profile) { 20 GetInstance()->GetServiceForBrowserContext(profile, true)); 40 Profile* profile = Profile::FromBrowserContext(context); local 42 profile, 44 extensions::ExtensionSystem::Get(profile)->extension_service()); 17 GetForProfile( Profile* profile) argument
|
/external/chromium_org/chrome/browser/profiles/ |
H A D | gaia_info_update_service_factory.cc | 8 #include "chrome/browser/profiles/profile.h" 25 Profile* profile) { 27 GetInstance()->GetServiceForBrowserContext(profile, true)); 37 Profile* profile = static_cast<Profile*>(context); local 38 if (!GAIAInfoUpdateService::ShouldUseGAIAProfileInfo(profile)) 40 return new GAIAInfoUpdateService(profile); 24 GetForProfile( Profile* profile) argument
|
H A D | profiles_state.h | 22 // Returns the path to the default profile directory, based on the given 26 // Register multi-profile related preferences in Local State. 29 // Returns the display name of the specified on-the-record profile (or guest), 32 // there is only one local profile present, it will return 33 // IDS_SINGLE_PROFILE_DISPLAY_NAME, unless the profile has a user entered 37 // Returns the string to use in the avatar button for the specified profile. 40 base::string16 GetAvatarButtonTextForProfile(Profile* profile); 42 // Update the name of |profile| to |new_profile_name|. This updates the 43 // profile preferences, which triggers an update in the ProfileInfoCache. 45 // the profile nam [all...] |
H A D | profile_manager.cc | 118 // Simple task to log the size of the current profile. 167 // Count number of enabled apps in this profile, if we know. 181 // Physically remove deleted profile directories from disk. 183 // Delete both the profile directory and its corresponding cache. 207 size_t GetEnabledAppCount(Profile* profile) { argument 210 extensions::ExtensionRegistry::Get(profile)->enabled_extensions(); 299 Profile* profile = GetLastUsedProfile(); local 300 if (profile->IsGuestSession() || 301 IncognitoModePrefs::GetAvailability(profile->GetPrefs()) == 303 return profile 372 Profile* profile = GetProfileByPath(profile_dir); local 438 Profile* profile = info->profile.get(); local 454 IsValidProfile(Profile* profile) argument 497 Profile* profile = GetProfile(profile_path.Append(profile_dir)); local 532 std::string profile; local 629 Profile* profile = GetProfileByPath(profile_dir); local 744 InitProfileUserPrefs(Profile* profile) argument 802 RegisterTestingProfile(Profile* profile, bool add_to_cache, bool start_deferred_task_runners) argument 862 Profile* profile = browser->profile(); local 881 Profile* profile = browser->profile(); local 926 OnProfileCreated(Profile* profile, bool success, bool is_new_profile) argument 970 DoFinalInit(Profile* profile, bool go_off_the_record) argument 982 DoFinalInitForServices(Profile* profile, bool go_off_the_record) argument 1008 DoFinalInitLogging(Profile* profile) argument 1039 Profile* profile = GetProfile(default_profile_dir); local 1057 Profile* profile = GetProfile(default_profile_dir); local 1070 AddProfile(Profile* profile) argument 1092 Profile* profile = GetProfileByPath(profile_dir); local 1133 RegisterProfile( Profile* profile, bool created) argument 1148 AddProfileToCache(Profile* profile) argument 1184 SetGuestProfilePrefs(Profile* profile) argument 1195 ShouldGoOffTheRecord(Profile* profile) argument 1204 RunCallbacks(const std::vector<CreateCallback>& callbacks, Profile* profile, Profile::CreateStatus status) argument 1211 ProfileInfo( Profile* profile, bool created) argument 1254 Profile* profile = browser->profile(); local [all...] |
/external/chromium_org/chrome/browser/services/gcm/ |
H A D | fake_signin_manager.cc | 9 #include "chrome/browser/profiles/profile.h" 21 FakeSigninManager::FakeSigninManager(Profile* profile) argument 24 ChromeSigninClientFactory::GetInstance()->GetForProfile(profile)), 27 ChromeSigninClientFactory::GetInstance()->GetForProfile(profile), 28 ProfileOAuth2TokenServiceFactory::GetForProfile(profile)), 30 profile_(profile) {
|
/external/chromium_org/chrome/browser/signin/ |
H A D | signin_ui_util.cc | 10 #include "chrome/browser/profiles/profile.h" 40 GlobalError* GetSignedInServiceError(Profile* profile) { argument 41 std::vector<GlobalError*> errors = GetSignedInServiceErrors(profile); 47 std::vector<GlobalError*> GetSignedInServiceErrors(Profile* profile) { argument 55 SigninGlobalErrorFactory::GetForProfile(profile); 62 if (profile->IsSyncAccessible()) { 63 SyncGlobalError* error = SyncGlobalErrorFactory::GetForProfile(profile); 72 base::string16 GetSigninMenuLabel(Profile* profile) { argument 73 GlobalError* error = signin_ui_util::GetSignedInServiceError(profile); 78 ProfileSyncService* service = profile 101 GetStatusLabelsForAuthError(Profile* profile, const SigninManagerBase& signin_manager, base::string16* status_label, base::string16* link_label) argument 162 InitializePrefsForProfile(Profile* profile) argument 170 ShowSigninErrorLearnMorePage(Profile* profile) argument 179 GetDisplayEmail(Profile* profile, const std::string& account_id) argument [all...] |
/external/chromium_org/chrome/browser/supervised_user/chromeos/ |
H A D | supervised_user_password_service_factory.cc | 10 #include "chrome/browser/profiles/profile.h" 21 SupervisedUserPasswordServiceFactory::GetForProfile(Profile* profile) { argument 23 GetInstance()->GetServiceForBrowserContext(profile, true)); 44 Profile* profile= static_cast<Profile*>(context); local 45 user_manager::User* user = ProfileHelper::Get()->GetUserByProfile(profile); 52 profile));
|
/external/chromium_org/chrome/browser/ui/app_list/ |
H A D | profile_loader.cc | 35 Profile* profile = profile_store_->GetProfileByPath(profile_file_path); local 36 if (profile) { 37 callback.Run(profile); 52 Profile* profile) { 55 callback.Run(profile); 50 OnProfileLoaded(int profile_load_sequence_id, base::Callback<void(Profile*)> callback, Profile* profile) argument
|
/external/chromium_org/chrome/browser/ui/sync/ |
H A D | inline_login_dialog.cc | 7 #include "chrome/browser/profiles/profile.h" 14 void InlineLoginDialog::Show(Profile* profile) { argument 15 chrome::ShowWebDialog(NULL, profile, new InlineLoginDialog(profile)); 18 InlineLoginDialog::InlineLoginDialog(Profile* profile) argument 19 : profile_(profile) {
|
/external/chromium_org/chrome/browser/background/ |
H A D | background_contents_service_unittest.cc | 49 const base::DictionaryValue* GetPrefs(Profile* profile) { argument 50 return profile->GetPrefs()->GetDictionary( 55 std::string GetPrefURLForApp(Profile* profile, const base::string16& appid) { argument 56 const base::DictionaryValue* pref = GetPrefs(profile); 70 explicit MockBackgroundContents(Profile* profile) argument 72 profile_(profile) { 74 MockBackgroundContents(Profile* profile, const std::string& id) argument 76 profile_(profile) { 95 void MockClose(Profile* profile) { argument 98 content::Source<Profile>(profile), 220 TestingProfile profile; local 225 TestingProfile profile; local 236 TestingProfile profile; local 263 TestingProfile profile; local 284 TestingProfile profile; local 316 TestingProfile profile; local 375 TestingProfile profile; local [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
H A D | profilesPanel.css | 32 #profile-views { 37 .profile-view .data-grid table.data { 41 .profile-view .data-grid tr:not(.selected) .highlight { 45 .profile-view .data-grid tr:hover td:not(.bottom-filler-td) { 49 .profile-view .data-grid td.numeric-column { 53 .profile-view .data-grid div.profile-multiple-values { 57 .profile-view .data-grid span.percent-column { 63 .profile-view .data-grid tr.selected span { 77 .profile [all...] |
/external/chromium_org/components/autofill/core/browser/ |
H A D | autofill_test_utils.cc | 85 FormGroup* profile, ServerFieldType type, const char* value) { 87 profile->SetRawInfo(type, base::UTF8ToUTF16(value)); 91 AutofillProfile profile(base::GenerateGUID(), "http://www.example.com/"); 92 SetProfileInfo(&profile, 104 return profile; 108 AutofillProfile profile(base::GenerateGUID(), "https://www.example.com/"); 109 SetProfileInfo(&profile, 121 return profile; 125 AutofillProfile profile(GetFullProfile()); 126 profile 84 check_and_set( FormGroup* profile, ServerFieldType type, const char* value) argument 162 SetProfileInfo(AutofillProfile* profile, const char* first_name, const char* middle_name, const char* last_name, const char* email, const char* company, const char* address1, const char* address2, const char* city, const char* state, const char* zipcode, const char* country, const char* phone) argument 182 SetProfileInfoWithGuid(AutofillProfile* profile, const char* guid, const char* first_name, const char* middle_name, const char* last_name, const char* email, const char* company, const char* address1, const char* address2, const char* city, const char* state, const char* zipcode, const char* country, const char* phone) argument [all...] |
/external/chromium_org/chrome/browser/policy/ |
H A D | profile_policy_connector_factory.cc | 10 #include "chrome/browser/profiles/profile.h" 38 Profile* profile) { 39 return GetInstance()->GetForProfileInternal(profile); 44 ProfilePolicyConnectorFactory::CreateForProfile(Profile* profile, argument 46 return GetInstance()->CreateForProfileInternal(profile, force_immediate_load); 50 Profile* profile, 52 ProfilePolicyConnector*& map_entry = connectors_[profile]; 83 ProfilePolicyConnectorFactory::GetForProfileInternal(Profile* profile) { argument 87 connectors_.find(profile->GetOriginalProfile()); 94 Profile* profile, 37 GetForProfile( Profile* profile) argument 49 SetServiceForTesting( Profile* profile, ProfilePolicyConnector* connector) argument 93 CreateForProfileInternal( Profile* profile, bool force_immediate_load) argument 146 Profile* profile = static_cast<Profile*>(context); local [all...] |
/external/chromium_org/chrome/browser/search/ |
H A D | search.h | 62 // Returns whether the suggest is enabled for the given |profile|. 63 bool IsSuggestPrefEnabled(Profile* profile); 90 base::string16 ExtractSearchTermsFromURL(Profile* profile, const GURL& url); 95 bool IsQueryExtractionAllowedForURL(Profile* profile, const GURL& url); 109 // extraction is disabled for this WebContents or profile, or if |contents| 114 bool ShouldAssignURLToInstantRenderer(const GURL& url, Profile* profile); 117 // |profile|. 119 Profile* profile); 122 bool ShouldUseProcessPerSiteForInstantURL(const GURL& url, Profile* profile); 126 bool IsNTPURL(const GURL& url, Profile* profile); [all...] |
/external/chromium_org/chrome/browser/sync/ |
H A D | profile_sync_service_factory.cc | 16 #include "chrome/browser/profiles/profile.h" 51 Profile* profile) { 56 GetInstance()->GetServiceForBrowserContext(profile, true)); 100 Profile* profile = static_cast<Profile*>(context); local 102 SigninManagerBase* signin = SigninManagerFactory::GetForProfile(profile); 105 // the profile notifications and purge the GCM store when the profile is 107 gcm::GCMProfileServiceFactory::GetForProfile(profile); 111 AboutSigninInternalsFactory::GetForProfile(profile); 117 new SupervisedUserSigninManagerWrapper(profile, signi 50 GetForProfile( Profile* profile) argument 154 HasProfileSyncService(Profile* profile) argument [all...] |
/external/chromium_org/content/renderer/media/ |
H A D | rtc_video_encoder_factory.cc | 22 const media::VideoEncodeAccelerator::SupportedProfile& profile) { 23 int width = profile.max_resolution.width(); 24 int height = profile.max_resolution.height(); 25 int fps = profile.max_framerate_numerator; 26 DCHECK_EQ(profile.max_framerate_denominator, 1U); 29 if (profile.profile >= media::VP8PROFILE_MIN && 30 profile.profile <= media::VP8PROFILE_MAX) { 35 } else if (profile 20 VEAToWebRTCCodecs( std::vector<cricket::WebRtcVideoEncoderFactory::VideoCodec>* codecs, const media::VideoEncodeAccelerator::SupportedProfile& profile) argument [all...] |
/external/chromium_org/chrome/browser/chromeos/policy/ |
H A D | user_network_configuration_updater_factory.cc | 13 #include "chrome/browser/profiles/profile.h" 26 UserNetworkConfigurationUpdaterFactory::GetForProfile(Profile* profile) { argument 28 GetInstance()->GetServiceForBrowserContext(profile, true)); 65 Profile* profile = static_cast<Profile*>(context); local 66 if (chromeos::ProfileHelper::IsSigninProfile(profile)) 70 chromeos::ProfileHelper::Get()->GetUserByProfile(profile); 81 ProfilePolicyConnectorFactory::GetForProfile(profile); 84 profile,
|