/external/chromium_org/chrome/browser/profiles/ |
D | profile_manager_unittest.cc | 147 ProfileManager* profile_manager = g_browser_process->profile_manager(); in TEST_F() local 150 Profile* profile = profile_manager->GetProfile(dest_path); in TEST_F() 154 EXPECT_EQ(profile, profile_manager->GetProfile(dest_path)); in TEST_F() 162 g_browser_process->profile_manager()->GetInitialProfileDir().value()); in TEST_F() 175 ProfileManager* profile_manager = g_browser_process->profile_manager(); in TEST_F() local 177 profile_manager->GetInitialProfileDir().value()); in TEST_F() 183 profile_manager->Observe(chrome::NOTIFICATION_LOGIN_USER_CHANGED, in TEST_F() 188 profile_manager->GetInitialProfileDir().value()); in TEST_F() 190 profile_manager->GetInitialProfileDir()).value(); in TEST_F() 202 ProfileManager* profile_manager = g_browser_process->profile_manager(); in TEST_F() local [all …]
|
D | profile_manager_browsertest.cc | 64 g_browser_process->profile_manager()->GetProfileInfoCache().AddObserver( in ProfileRemovalObserver() 69 g_browser_process->profile_manager()->GetProfileInfoCache().RemoveObserver( in ~ProfileRemovalObserver() 102 ProfileManager* profile_manager = g_browser_process->profile_manager(); in IN_PROC_BROWSER_TEST_F() local 103 ProfileInfoCache& cache = profile_manager->GetProfileInfoCache(); in IN_PROC_BROWSER_TEST_F() 112 profile_manager->ScheduleProfileForDeletion(singleton_profile_path, in IN_PROC_BROWSER_TEST_F() 138 ProfileManager* profile_manager = g_browser_process->profile_manager(); in IN_PROC_BROWSER_TEST_F() local 139 ProfileInfoCache& cache = profile_manager->GetProfileInfoCache(); in IN_PROC_BROWSER_TEST_F() 142 base::FilePath new_path = profile_manager->GenerateNextProfileDirectoryPath(); in IN_PROC_BROWSER_TEST_F() 143 profile_manager->CreateProfileAsync(new_path, in IN_PROC_BROWSER_TEST_F() 159 profile_manager->ScheduleProfileForDeletion(profile_path1, in IN_PROC_BROWSER_TEST_F() [all …]
|
D | profile_list_desktop_browsertest.cc | 56 ProfileManager* profile_manager = g_browser_process->profile_manager(); in IN_PROC_BROWSER_TEST_F() local 58 ProfileInfoCache& cache = profile_manager->GetProfileInfoCache(); in IN_PROC_BROWSER_TEST_F() 92 ProfileManager* profile_manager = g_browser_process->profile_manager(); in IN_PROC_BROWSER_TEST_F() local 94 ProfileInfoCache& cache = profile_manager->GetProfileInfoCache(); in IN_PROC_BROWSER_TEST_F() 101 profile_manager->CreateProfileAsync(path_profile2, in IN_PROC_BROWSER_TEST_F()
|
D | profile_window.cc | 131 g_browser_process->profile_manager()->CreateProfileAsync( in SwitchToProfile() 145 g_browser_process->profile_manager()->CreateProfileAsync( in SwitchToGuestProfile() 171 ProfileManager* profile_manager = g_browser_process->profile_manager(); in CloseGuestProfileWindows() local 172 Profile* profile = profile_manager->GetProfileByPath( in CloseGuestProfileWindows() 183 g_browser_process->profile_manager()->GetProfileInfoCache(); in LockProfile()
|
D | profile_manager.cc | 195 ProfileManager* pm = g_browser_process->profile_manager(); in ShutdownSessionServices() 236 ProfileManager* profile_manager = g_browser_process->profile_manager(); in GetDefaultProfile() local 237 return profile_manager->GetDefaultProfile(profile_manager->user_data_dir_); in GetDefaultProfile() 248 ProfileManager* profile_manager = g_browser_process->profile_manager(); in GetLastUsedProfile() local 249 return profile_manager->GetLastUsedProfile(profile_manager->user_data_dir_); in GetLastUsedProfile() 264 ProfileManager* profile_manager = g_browser_process->profile_manager(); in GetLastOpenedProfiles() local 265 return profile_manager->GetLastOpenedProfiles( in GetLastOpenedProfiles() 266 profile_manager->user_data_dir_); in GetLastOpenedProfiles() 430 ProfileManager* profile_manager = g_browser_process->profile_manager(); in GetPrimaryUserProfile() local 431 if (!profile_manager->IsLoggedIn() || !chromeos::UserManager::IsInitialized()) in GetPrimaryUserProfile() [all …]
|
/external/chromium_org/chrome/browser/background/ |
D | background_mode_manager_unittest.cc | 56 scoped_ptr<TestingProfileManager> profile_manager in CreateTestingProfileManager() local 58 EXPECT_TRUE(profile_manager->SetUp()); in CreateTestingProfileManager() 59 return profile_manager.Pass(); in CreateTestingProfileManager() 153 scoped_ptr<TestingProfileManager> profile_manager = in TEST_F() local 155 TestingProfile* profile = profile_manager->CreateTestingProfile("p1"); in TEST_F() 157 command_line_.get(), profile_manager->profile_info_cache(), true); in TEST_F() 189 scoped_ptr<TestingProfileManager> profile_manager = in TEST_F() local 191 TestingProfile* profile = profile_manager->CreateTestingProfile("p1"); in TEST_F() 193 command_line_.get(), profile_manager->profile_info_cache(), true); in TEST_F() 221 scoped_ptr<TestingProfileManager> profile_manager = in TEST_F() local [all …]
|
/external/chromium_org/chrome/browser/chromeos/profiles/ |
D | profile_helper.cc | 24 ProfileManager* profile_manager = g_browser_process->profile_manager(); in GetSigninProfileDir() local 25 base::FilePath user_data_dir = profile_manager->user_data_dir(); in GetSigninProfileDir() 48 ProfileManager* profile_manager = g_browser_process->profile_manager(); in GetProfileByUserIdHash() local 49 return profile_manager->GetProfile(GetProfilePathByUserIdHash(user_id_hash)); in GetProfileByUserIdHash() 62 ProfileManager* profile_manager = g_browser_process->profile_manager(); in GetProfilePathByUserIdHash() local 63 base::FilePath profile_path = profile_manager->user_data_dir(); in GetProfilePathByUserIdHash() 84 ProfileManager* profile_manager = g_browser_process->profile_manager(); in GetSigninProfile() local 85 return profile_manager->GetProfile(GetSigninProfileDir())-> in GetSigninProfile() 151 ProfileManager* profile_manager = g_browser_process->profile_manager(); in ClearSigninProfile() local 153 if (!profile_manager->GetProfileByPath(GetSigninProfileDir())) { in ClearSigninProfile()
|
/external/chromium_org/chrome/browser/ui/startup/ |
D | startup_browser_creator_interactive_uitest.cc | 30 ProfileManager* profile_manager = g_browser_process->profile_manager(); in IN_PROC_BROWSER_TEST_F() local 34 Profile* profile_1 = profile_manager->GetProfile( in IN_PROC_BROWSER_TEST_F() 35 profile_manager->user_data_dir().Append(FILE_PATH_LITERAL( in IN_PROC_BROWSER_TEST_F() 38 Profile* profile_2 = profile_manager->GetProfile( in IN_PROC_BROWSER_TEST_F() 39 profile_manager->user_data_dir().Append(FILE_PATH_LITERAL( in IN_PROC_BROWSER_TEST_F() 42 Profile* profile_3 = profile_manager->GetProfile( in IN_PROC_BROWSER_TEST_F() 43 profile_manager->user_data_dir().Append(FILE_PATH_LITERAL( in IN_PROC_BROWSER_TEST_F() 46 Profile* profile_4 = profile_manager->GetProfile( in IN_PROC_BROWSER_TEST_F() 47 profile_manager->user_data_dir().Append(FILE_PATH_LITERAL( in IN_PROC_BROWSER_TEST_F() 70 browser_creator.Start(dummy, profile_manager->user_data_dir(), profile_2, in IN_PROC_BROWSER_TEST_F()
|
D | startup_browser_creator_browsertest.cc | 593 ProfileManager* profile_manager = g_browser_process->profile_manager(); in IN_PROC_BROWSER_TEST_F() local 595 base::FilePath dest_path = profile_manager->user_data_dir(); in IN_PROC_BROWSER_TEST_F() 598 Profile* other_profile = profile_manager->GetProfile(dest_path); in IN_PROC_BROWSER_TEST_F() 630 browser_creator.Start(dummy, profile_manager->user_data_dir(), in IN_PROC_BROWSER_TEST_F() 657 ProfileManager* profile_manager = g_browser_process->profile_manager(); in IN_PROC_BROWSER_TEST_F() local 660 base::FilePath dest_path = profile_manager->user_data_dir(); in IN_PROC_BROWSER_TEST_F() 662 Profile* profile1 = profile_manager->GetProfile( in IN_PROC_BROWSER_TEST_F() 666 Profile* profile2 = profile_manager->GetProfile( in IN_PROC_BROWSER_TEST_F() 704 ProfileManager* profile_manager = g_browser_process->profile_manager(); in IN_PROC_BROWSER_TEST_F() local 707 base::FilePath dest_path = profile_manager->user_data_dir(); in IN_PROC_BROWSER_TEST_F() [all …]
|
/external/chromium_org/chrome/browser/ui/ |
D | browser_command_controller_unittest.cc | 154 ProfileManager* profile_manager = testing_profile_manager.profile_manager(); in TEST_F() local 157 profile_manager); in TEST_F() 161 ASSERT_EQ(1U, profile_manager->GetNumberOfProfiles()); in TEST_F() 165 ASSERT_EQ(2U, profile_manager->GetNumberOfProfiles()); in TEST_F() 169 ASSERT_EQ(1U, profile_manager->GetNumberOfProfiles()); in TEST_F() 187 ProfileManager* profile_manager = testing_profile_manager.profile_manager(); in TEST_F() local 190 profile_manager); in TEST_F() 194 ASSERT_EQ(1U, profile_manager->GetNumberOfProfiles()); in TEST_F() 211 ProfileManager* profile_manager = testing_profile_manager.profile_manager(); in TEST_F() local 228 profile_manager); in TEST_F() [all …]
|
/external/chromium_org/chrome/browser/apps/ |
D | shortcut_manager.cc | 87 ProfileManager* profile_manager = g_browser_process->profile_manager(); in AppShortcutManager() local 89 if (profile_manager) { in AppShortcutManager() 90 profile_manager->GetProfileInfoCache().AddObserver(this); in AppShortcutManager() 97 ProfileManager* profile_manager = g_browser_process->profile_manager(); in ~AppShortcutManager() local 99 if (profile_manager) in ~AppShortcutManager() 100 profile_manager->GetProfileInfoCache().RemoveObserver(this); in ~AppShortcutManager()
|
/external/chromium_org/chrome/browser/ui/views/ |
D | new_avatar_menu_button_browsertest.cc | 58 ProfileManager* profile_manager = g_browser_process->profile_manager(); in CreateTestingProfile() local 59 EXPECT_EQ(1u, profile_manager->GetNumberOfProfiles()); in CreateTestingProfile() 62 ProfileInfoCache& cache = profile_manager->GetProfileInfoCache(); in CreateTestingProfile() 72 profile_manager->RegisterTestingProfile(profile, true, false); in CreateTestingProfile() 73 EXPECT_EQ(2u, profile_manager->GetNumberOfProfiles()); in CreateTestingProfile()
|
D | avatar_menu_button_browsertest.cc | 43 ProfileManager* profile_manager = g_browser_process->profile_manager(); in CreateTestingProfile() local 44 EXPECT_EQ(1u, profile_manager->GetNumberOfProfiles()); in CreateTestingProfile() 53 profile_manager->RegisterTestingProfile(profile, true, false); in CreateTestingProfile() 54 EXPECT_EQ(2u, profile_manager->GetNumberOfProfiles()); in CreateTestingProfile()
|
/external/chromium_org/chrome/browser/sync/glue/ |
D | sync_start_util.cc | 20 ProfileManager* profile_manager = g_browser_process->profile_manager(); in StartSyncOnUIThread() local 21 if (!profile_manager) { in StartSyncOnUIThread() 27 Profile* p = profile_manager->GetProfileByPath(profile); in StartSyncOnUIThread()
|
/external/chromium_org/chrome/browser/ui/views/frame/ |
D | browser_window_property_manager_browsertest_win.cc | 125 ProfileManager* profile_manager = g_browser_process->profile_manager(); in IN_PROC_BROWSER_TEST_F() local 126 ProfileInfoCache& cache = profile_manager->GetProfileInfoCache(); in IN_PROC_BROWSER_TEST_F() 129 profile_manager->GenerateNextProfileDirectoryPath(); in IN_PROC_BROWSER_TEST_F() 130 profile_manager->CreateProfileAsync(path_profile2, in IN_PROC_BROWSER_TEST_F() 145 CreateBrowser(profile_manager->GetProfileByPath(path_profile2)); in IN_PROC_BROWSER_TEST_F()
|
D | browser_window_property_manager_win.cc | 52 ProfileManager* profile_manager = g_browser_process->profile_manager(); in UpdateWindowProperties() local 56 if (profile_manager) in UpdateWindowProperties() 57 shortcut_manager = profile_manager->profile_shortcut_manager(); in UpdateWindowProperties()
|
/external/chromium_org/chrome/browser/chromeos/login/ |
D | user_image_sync_observer.cc | 39 ProfileManager* profile_manager = g_browser_process->profile_manager(); in GetUserProfile() local 40 if (!profile_manager || !profile_manager->IsLoggedIn()) in GetUserProfile() 42 base::FilePath profile_path = profile_manager->user_data_dir().Append( in GetUserProfile() 43 profile_manager->GetInitialProfileDir()); in GetUserProfile() 44 return profile_manager->GetProfileByPath(profile_path); in GetUserProfile()
|
/external/chromium_org/chrome/browser/ui/webui/options/ |
D | options_ui_browsertest.cc | 111 ProfileManager* profile_manager = g_browser_process->profile_manager(); in IN_PROC_BROWSER_TEST_F() local 113 profile_manager->GenerateNextProfileDirectoryPath(); in IN_PROC_BROWSER_TEST_F() 116 profile_manager->CreateProfileAsync( in IN_PROC_BROWSER_TEST_F() 117 profile_manager->GenerateNextProfileDirectoryPath(), in IN_PROC_BROWSER_TEST_F()
|
/external/chromium_org/chrome/browser/managed_mode/ |
D | managed_user_service_browsertest.cc | 46 ProfileManager* profile_manager = g_browser_process->profile_manager(); in IN_PROC_BROWSER_TEST_F() local 47 const ProfileInfoCache& cache = profile_manager->GetProfileInfoCache(); in IN_PROC_BROWSER_TEST_F() 64 ProfileManager* profile_manager = g_browser_process->profile_manager(); in IN_PROC_BROWSER_TEST_F() local 65 const ProfileInfoCache& cache = profile_manager->GetProfileInfoCache(); in IN_PROC_BROWSER_TEST_F()
|
/external/chromium_org/win8/metro_driver/ime/ |
D | input_source.cc | 88 InputSourceImpl(ITfInputProcessorProfileMgr* profile_manager, in InputSourceImpl() argument 90 : profile_manager_(profile_manager), in InputSourceImpl() 140 base::win::ScopedComPtr<ITfInputProcessorProfileMgr> profile_manager; in Create() local 141 HRESULT hr = profile_manager.CreateInstance(CLSID_TF_InputProcessorProfiles); in Create() 148 hr = profiles_source.QueryFrom(profile_manager); in Create() 167 return scoped_ptr<InputSource>(new InputSourceImpl(profile_manager, monitor)); in Create()
|
/external/chromium/chrome/browser/extensions/ |
D | extension_event_router_forwarder.cc | 68 if (!g_browser_process || !g_browser_process->profile_manager()) in HandleEvent() 71 ProfileManager* profile_manager = g_browser_process->profile_manager(); in HandleEvent() local 74 profile = profile_manager->GetProfileWithId(profile_id); in HandleEvent() 83 std::vector<Profile*> profiles(profile_manager->GetLoadedProfiles()); in HandleEvent()
|
/external/chromium_org/chrome/browser/ui/ash/launcher/ |
D | launcher_app_tab_helper.cc | 51 ProfileManager* profile_manager = g_browser_process->profile_manager(); in GetAppID() local 52 if (profile_manager) { in GetAppID() 54 profile_manager->GetLoadedProfiles(); in GetAppID()
|
/external/chromium_org/apps/app_shim/ |
D | extension_app_shim_handler_mac.cc | 126 ProfileManager* profile_manager = g_browser_process->profile_manager(); in ProfileExistsForPath() local 129 base::FilePath full_path = profile_manager->user_data_dir().Append(path); in ProfileExistsForPath() 130 ProfileInfoCache& cache = profile_manager->GetProfileInfoCache(); in ProfileExistsForPath() 136 ProfileManager* profile_manager = g_browser_process->profile_manager(); in ProfileForPath() local 137 base::FilePath full_path = profile_manager->user_data_dir().Append(path); in ProfileForPath() 138 Profile* profile = profile_manager->GetProfileByPath(full_path); in ProfileForPath() 141 return profile && profile_manager->IsValidProfile(profile) ? profile : NULL; in ProfileForPath() 147 ProfileManager* profile_manager = g_browser_process->profile_manager(); in LoadProfileAsync() local 148 base::FilePath full_path = profile_manager->user_data_dir().Append(path); in LoadProfileAsync() 149 profile_manager->CreateProfileAsync( in LoadProfileAsync()
|
/external/chromium_org/chrome/browser/extensions/ |
D | event_router_forwarder.cc | 85 if (!g_browser_process || !g_browser_process->profile_manager()) in HandleEvent() 88 ProfileManager* profile_manager = g_browser_process->profile_manager(); in HandleEvent() local 92 if (!profile_manager->IsValidProfile(profile)) in HandleEvent() 99 std::vector<Profile*> profiles(profile_manager->GetLoadedProfiles()); in HandleEvent()
|
/external/chromium_org/chrome/browser/ui/webui/signin/ |
D | user_manager_ui_browsertest.cc | 64 ProfileManager* profile_manager = g_browser_process->profile_manager(); in IN_PROC_BROWSER_TEST_F() local 65 EXPECT_EQ(num_pods, static_cast<int>(profile_manager->GetNumberOfProfiles())); in IN_PROC_BROWSER_TEST_F()
|