Home
last modified time | relevance | path

Searched refs:profile_manager (Results 1 – 25 of 198) sorted by relevance

12345678

/external/chromium_org/chrome/browser/profiles/
Dprofile_manager_unittest.cc147 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 …]
Dprofile_manager_browsertest.cc64 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 …]
Dprofile_list_desktop_browsertest.cc56 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()
Dprofile_window.cc131 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()
Dprofile_manager.cc195 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/
Dbackground_mode_manager_unittest.cc56 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/
Dprofile_helper.cc24 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/
Dstartup_browser_creator_interactive_uitest.cc30 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()
Dstartup_browser_creator_browsertest.cc593 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/
Dbrowser_command_controller_unittest.cc154 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/
Dshortcut_manager.cc87 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/
Dnew_avatar_menu_button_browsertest.cc58 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()
Davatar_menu_button_browsertest.cc43 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/
Dsync_start_util.cc20 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/
Dbrowser_window_property_manager_browsertest_win.cc125 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()
Dbrowser_window_property_manager_win.cc52 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/
Duser_image_sync_observer.cc39 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/
Doptions_ui_browsertest.cc111 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/
Dmanaged_user_service_browsertest.cc46 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/
Dinput_source.cc88 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/
Dextension_event_router_forwarder.cc68 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/
Dlauncher_app_tab_helper.cc51 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/
Dextension_app_shim_handler_mac.cc126 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/
Devent_router_forwarder.cc85 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/
Duser_manager_ui_browsertest.cc64 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()

12345678