/external/chromium_org/chrome/browser/supervised_user/ |
H A D | supervised_user_resource_throttle_browsertest.cc | 10 #include "chrome/browser/profiles/profile.h" 44 SupervisedUserServiceFactory::GetForProfile(browser()->profile()); 56 Profile* profile = browser()->profile(); local 58 SupervisedUserSettingsServiceFactory::GetForProfile(profile); 65 WebContents::Create(WebContents::CreateParams(profile)));
|
/external/chromium_org/chrome/browser/sync/glue/ |
H A D | extension_setting_data_type_controller.cc | 10 #include "chrome/browser/profiles/profile.h" 25 Profile* profile) 31 profile_(profile) { 22 ExtensionSettingDataTypeController( syncer::ModelType type, ProfileSyncComponentsFactory* profile_sync_factory, Profile* profile) argument
|
H A D | password_data_type_controller.cc | 10 #include "chrome/browser/profiles/profile.h" 22 Profile* profile) 27 profile_(profile) { 20 PasswordDataTypeController( ProfileSyncComponentsFactory* profile_sync_factory, Profile* profile) argument
|
H A D | search_engine_data_type_controller.cc | 8 #include "chrome/browser/profiles/profile.h" 21 Profile* profile) 27 profile_(profile) { 19 SearchEngineDataTypeController( sync_driver::SyncApiComponentFactory* sync_factory, Profile* profile) argument
|
/external/chromium_org/chrome/browser/sync/ |
H A D | supervised_user_signin_manager_wrapper.cc | 7 #include "chrome/browser/profiles/profile.h" 16 Profile* profile, 18 : profile_(profile), original_(original) {} 15 SupervisedUserSigninManagerWrapper( Profile* profile, SigninManagerBase* original) argument
|
/external/chromium_org/chrome/browser/sync/test/integration/performance/ |
H A D | bookmarks_sync_perf_test.cc | 27 // Adds |num_urls| new unique bookmarks to the bookmark bar for |profile|. 28 void AddURLs(int profile, int num_urls); 30 // Updates the URL for all bookmarks in the bookmark bar for |profile|. 31 void UpdateURLs(int profile); 33 // Removes all bookmarks in the bookmark bar for |profile|. 34 void RemoveURLs(int profile); 36 // Returns the number of bookmarks stored in the bookmark bar for |profile|. 37 int GetURLCount(int profile); 51 void BookmarksSyncPerfTest::AddURLs(int profile, int num_urls) { argument 54 profile, 58 UpdateURLs(int profile) argument 68 RemoveURLs(int profile) argument 74 GetURLCount(int profile) argument [all...] |
H A D | extensions_sync_perf_test.cc | 31 // Adds |num_extensions| new unique extensions to |profile|. 32 void AddExtensions(int profile, int num_extensions); 34 // Updates the enabled/disabled state for all extensions in |profile|. 35 void UpdateExtensions(int profile); 37 // Uninstalls all currently installed extensions from |profile|. 38 void RemoveExtensions(int profile); 40 // Returns the number of currently installed extensions for |profile|. 41 int GetExtensionCount(int profile); 48 void ExtensionsSyncPerfTest::AddExtensions(int profile, int num_extensions) { argument 50 InstallExtension(GetProfile(profile), extension_number 54 UpdateExtensions(int profile) argument 66 GetExtensionCount(int profile) argument 70 RemoveExtensions(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 | typed_urls_sync_perf_test.cc | 37 // Adds |num_urls| new unique typed urls to |profile|. 38 void AddURLs(int profile, int num_urls); 40 // Update all typed urls in |profile| by visiting them once again. 41 void UpdateURLs(int profile); 43 // Removes all typed urls for |profile|. 44 void RemoveURLs(int profile); 46 // Returns the number of typed urls stored in |profile|. 47 int GetURLCount(int profile); 60 void TypedUrlsSyncPerfTest::AddURLs(int profile, int num_urls) { argument 62 AddUrlToHistory(profile, NextUR 66 UpdateURLs(int profile) argument 74 RemoveURLs(int profile) argument 84 GetURLCount(int profile) argument [all...] |
/external/chromium_org/chrome/browser/sync/test/integration/ |
H A D | two_client_autofill_sync_test.cc | 56 void MakeABookmarkChange(int profile) { argument 58 AddURL(profile, IndexedURLTitle(count), GURL(IndexedURL(count)))); 157 // Client0 adds a profile. 163 // Client1 adds a profile. 169 // Client0 adds the same profile. 175 // Client1 removes a profile. 181 // Client0 updates a profile. 190 // Client1 removes remaining profile.
|
/external/chromium_org/chrome/browser/task_manager/ |
H A D | task_manager_util.cc | 12 #include "chrome/browser/profiles/profile.h" 47 base::string16 GetProfileNameFromInfoCache(Profile* profile) { argument 48 DCHECK(profile); 53 profile->GetOriginalProfile()->GetPath());
|
/external/chromium_org/chrome/browser/ui/android/tab_model/ |
H A D | tab_model.cc | 10 #include "chrome/browser/profiles/profile.h" 17 TabModel::TabModel(Profile* profile) argument 18 : profile_(profile), 22 if (profile) { 23 // A normal Profile creates an OTR profile if it does not exist when 25 // HasOffTheRecordProfile(). An OTR profile returns itself when you call 27 is_off_the_record_ = (profile->HasOffTheRecordProfile() && 28 profile == profile->GetOffTheRecordProfile()); 30 // A profile ca 89 Profile* profile = content::Source<Profile>(source).ptr(); local [all...] |
/external/chromium_org/chrome/browser/ui/app_list/ |
H A D | extension_uninstaller.cc | 8 #include "chrome/browser/profiles/profile.h" 15 Profile* profile, 18 : profile_(profile), 14 ExtensionUninstaller( Profile* profile, const std::string& extension_id, AppListControllerDelegate* controller) argument
|
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
|
H A D | profile_loader_unittest.cc | 8 #include "chrome/browser/profiles/profile.h" 28 void StartLoadingProfile(Profile* profile) { argument 30 profile->GetPath(), 35 void FinishLoadingProfile(Profile* profile) { argument 36 profile_store_->LoadProfile(profile); 39 void OnProfileLoaded(Profile* profile) { argument 40 last_callback_result_ = profile; 110 // The profile is still considered loading even though we will do nothing when
|
/external/chromium_org/chrome/browser/ui/app_list/search/common/ |
H A D | webservice_search_provider.cc | 11 #include "chrome/browser/profiles/profile.h" 27 WebserviceSearchProvider::WebserviceSearchProvider(Profile* profile) argument 28 : profile_(profile), 29 cache_(WebserviceCacheFactory::GetForBrowserContext(profile)),
|
/external/chromium_org/chrome/browser/ui/app_list/search/ |
H A D | search_webstore_result.cc | 20 SearchWebstoreResult::SearchWebstoreResult(Profile* profile, argument 22 : profile_(profile),
|
/external/chromium_org/chrome/browser/ui/app_list/test/ |
H A D | chrome_app_list_test_support.cc | 39 void OnProfileCreated(Profile* profile, Profile::CreateStatus status) { argument 41 profile_ = profile;
|
H A D | fake_profile_store.cc | 7 #include "chrome/browser/profiles/profile.h" 16 void FakeProfileStore::LoadProfile(Profile* profile) { argument 17 loaded_profiles_[profile->GetPath()] = profile; 18 CallbacksByPath::iterator it = callbacks_.find(profile->GetPath()); 20 it->second.Run(profile); 25 void FakeProfileStore::RemoveProfile(Profile* profile) { argument 26 base::FilePath path(profile->GetPath()); 42 Profile* profile = GetProfileByPath(path); local 43 if (profile) { [all...] |
/external/chromium_org/chrome/browser/ui/ash/ |
H A D | chrome_new_window_delegate_chromeos.cc | 27 Profile* const profile = ProfileManager::GetActiveUserProfile(); local 29 extensions::ExtensionSystem::Get(profile)->extension_service(); 32 profile)) { 40 OpenApplication(AppLaunchParams(profile, 47 Profile* profile = ProfileManager::GetActiveUserProfile(); local 49 profile); 53 profile, 69 Profile* profile = ProfileManager::GetActiveUserProfile(); local 71 ash::KeyboardOverlayView::ShowDialog(profile,
|
/external/chromium_org/chrome/browser/ui/ash/launcher/ |
H A D | launcher_context_menu_unittest.cc | 15 #include "chrome/browser/profiles/profile.h" 22 TestChromeLauncherController(Profile* profile, ash::ShelfModel* model) argument 23 : ChromeLauncherController(profile, model) {} 44 new TestChromeLauncherController(profile(), &shelf_model_)); 60 Profile* profile() { return profile_.get(); } function in class:LauncherContextMenuTest 83 IncognitoModePrefs::SetAvailability(profile()->GetPrefs(), 105 IncognitoModePrefs::SetAvailability(profile()->GetPrefs(),
|
/external/chromium_org/chrome/browser/ui/ash/multi_user/ |
H A D | multi_user_util.cc | 11 #include "chrome/browser/profiles/profile.h" 22 std::string GetUserIDFromProfile(Profile* profile) { argument 23 return GetUserIDFromEmail(profile->GetOriginalProfile()->GetProfileName()); 27 // |email| and profile name could be empty if not yet logged in or guest mode. 63 bool IsProfileFromActiveUser(Profile* profile) { argument 65 return GetUserIDFromProfile(profile) ==
|
/external/chromium_org/chrome/browser/ui/autofill/ |
H A D | data_model_wrapper_unittest.cc | 97 AutofillProfile profile = test::GetFullProfile(); local 100 AutofillProfileWrapper(&profile).GetDisplayText(&horizontal, &vertical)); 180 AutofillProfile profile(test::GetVerifiedProfile()); 194 AutofillProfileWrapper profile_wrapper(&profile); 226 profile.SetRawInfo(PHONE_HOME_WHOLE_NUMBER, international_unformatted); 230 profile.SetRawInfo(PHONE_HOME_WHOLE_NUMBER, 235 profile.SetRawInfo(PHONE_HOME_WHOLE_NUMBER, national_unformatted); 239 profile.SetRawInfo(PHONE_HOME_WHOLE_NUMBER, national_formatted); 243 profile.SetRawInfo(PHONE_HOME_WHOLE_NUMBER, user_formatted);
|
/external/chromium_org/chrome/browser/ui/ |
H A D | browser_mac.cc | 7 #include "chrome/browser/profiles/profile.h" 14 void OpenAboutWindow(Profile* profile) { argument 16 new Browser(Browser::CreateParams(profile, 22 void OpenHistoryWindow(Profile* profile) { argument 24 new Browser(Browser::CreateParams(profile, 30 void OpenDownloadsWindow(Profile* profile) { argument 32 new Browser(Browser::CreateParams(profile, 38 void OpenHelpWindow(Profile* profile, HelpSource source) { argument 40 new Browser(Browser::CreateParams(profile, 46 void OpenOptionsWindow(Profile* profile) { argument 54 OpenSyncSetupWindow(Profile* profile, signin::Source source) argument 62 OpenClearBrowsingDataDialogWindow(Profile* profile) argument 70 OpenImportSettingsDialogWindow(Profile* profile) argument 78 OpenBookmarkManagerWindow(Profile* profile) argument 86 OpenExtensionsWindow(Profile* profile) argument [all...] |
/external/chromium_org/chrome/browser/ui/cocoa/ |
H A D | cocoa_profile_test.h | 40 // do work in SetUp should ASSERT that either browser() or profile() are 49 TestingProfile* profile() { return profile_; } function in class:CocoaProfileTest
|