Home
last modified time | relevance | path

Searched refs:profile_manager_ (Results 1 – 25 of 61) sorted by relevance

123

/external/chromium_org/chrome/test/base/
Dtesting_profile_manager.cc43 profile_manager_(NULL) { in TestingProfileManager()
94 profile_manager_->AddProfile(profile); // Takes ownership. in CreateTestingProfile()
97 ProfileInfoCache& cache = profile_manager_->GetProfileInfoCache(); in CreateTestingProfile()
133 profile_manager_->AddProfile(profile); // Takes ownership. in CreateGuestProfile()
134 profile_manager_->SetGuestProfilePrefs(profile); in CreateGuestProfile()
149 ProfileInfoCache& cache = profile_manager_->GetProfileInfoCache(); in DeleteTestingProfile()
152 profile_manager_->profiles_info_.erase(profile->GetPath()); in DeleteTestingProfile()
159 ProfileInfoCache& cache = profile_manager_->GetProfileInfoCache(); in DeleteAllTestingProfiles()
172 profile_manager_->profiles_info_.erase(ProfileManager::GetGuestProfilePath()); in DeleteGuestProfile()
176 profile_manager_->profile_info_cache_.reset(NULL); in DeleteProfileInfoCache()
[all …]
/external/chromium_org/chrome/browser/chromeos/drive/
Ddrive_integration_service_unittest.cc25 : profile_manager_(TestingBrowserProcess::GetGlobal()) {} in DriveIntegrationServiceTest()
28 ASSERT_TRUE(profile_manager_.SetUp()); in SetUp()
37 TestingProfileManager profile_manager_; member in drive::DriveIntegrationServiceTest
43 profile_manager_.CreateTestingProfile(kTestProfileName), in TEST_F()
55 TestingProfile* user1 = profile_manager_.CreateTestingProfile("user1"); in TEST_F()
66 TestingProfile* user2 = profile_manager_.CreateTestingProfile("user2"); in TEST_F()
/external/chromium_org/chrome/browser/extensions/
Dbrowser_permissions_policy_delegate_unittest.cc26 profile_manager_.reset( in SetUp()
28 ASSERT_TRUE(profile_manager_->SetUp()); in SetUp()
29 profile_ = profile_manager_->CreateTestingProfile("test"); in SetUp()
33 profile_manager_->DeleteTestingProfile("test"); in TearDown()
34 profile_manager_.reset(); in TearDown()
38 scoped_ptr<TestingProfileManager> profile_manager_; member in extensions::__anon52fe0bfc0111::BrowserPermissionsPolicyDelegateTest
Devent_router_forwarder_unittest.cc93 profile_manager_( in EventRouterForwarderTest()
104 ASSERT_TRUE(profile_manager_.SetUp()); in SetUp()
107 profile1_ = profile_manager_.CreateTestingProfile("one"); in SetUp()
108 profile2_ = profile_manager_.CreateTestingProfile("two"); in SetUp()
112 TestingProfileManager profile_manager_; member in extensions::EventRouterForwarderTest
/external/chromium_org/chrome/browser/chromeos/power/
Dpower_prefs_unittest.cc56 TestingProfileManager profile_manager_; member in chromeos::PowerPrefsTest
66 : profile_manager_(TestingBrowserProcess::GetGlobal()), in PowerPrefsTest()
82 ASSERT_TRUE(profile_manager_.SetUp()); in SetUp()
168 profile_manager_.profiles_dir().AppendASCII(chrome::kInitialProfile)); in TEST_F()
171 profile_manager_.CreateTestingProfile(chrome::kInitialProfile)); in TEST_F()
185 profile_manager_.CreateTestingProfile("other"); in TEST_F()
219 profile_manager_.CreateTestingProfile(test_user1); in TEST_F()
221 profile_manager_.SetLoggedIn(true); in TEST_F()
238 profile_manager_.CreateTestingProfile(test_user2); in TEST_F()
/external/chromium_org/chrome/browser/background/
Dbackground_mode_manager_unittest.cc160 profile_manager_ = CreateTestingProfileManager(); in SetUp()
161 profile_ = profile_manager_->CreateTestingProfile("p1"); in SetUp()
187 scoped_ptr<TestingProfileManager> profile_manager_; member in BackgroundModeManagerTest
227 command_line_.get(), profile_manager_->profile_info_cache())); in SetUp()
241 profile_manager_->DeleteAllTestingProfiles(); in TearDown()
257 profile_manager_.reset(); in TearDown()
302 command_line_.get(), profile_manager_->profile_info_cache(), true); in TEST_F()
335 command_line_.get(), profile_manager_->profile_info_cache(), true); in TEST_F()
364 command_line_.get(), profile_manager_->profile_info_cache(), true); in TEST_F()
394 TestingProfile* profile2 = profile_manager_->CreateTestingProfile("p2"); in TEST_F()
[all …]
/external/chromium_org/chrome/browser/ui/webui/chromeos/login/
Dsignin_userlist_unittest.cc46 profile_manager_.reset( in SetUp()
48 ASSERT_TRUE(profile_manager_->SetUp()); in SetUp()
64 profile_manager_.reset(); in TearDown()
73 scoped_ptr<TestingProfileManager> profile_manager_; member in chromeos::SigninPrepareUserListTest
/external/chromium_org/chrome/browser/sync/
Dsync_error_notifier_ash_unittest.cc100 profile_manager_.reset( in SetUp()
102 ASSERT_TRUE(profile_manager_->SetUp()); in SetUp()
104 profile_ = profile_manager_->CreateTestingProfile(kTestAccountId); in SetUp()
137 profile_manager_.reset(); in TearDown()
174 scoped_ptr<TestingProfileManager> profile_manager_; member in ash::test::__anonb74b49c10111::SyncErrorNotifierTest
/external/chromium_org/chrome/browser/profiles/
Doff_the_record_profile_impl_unittest.cc81 profile_manager_.reset(new TestingProfileManager(browser_process())); in SetUp()
82 ASSERT_TRUE(profile_manager_->SetUp()); in SetUp()
96 profile_manager_.reset(); in TearDown()
109 scoped_ptr<TestingProfileManager> profile_manager_; member in OffTheRecordProfileImplTest
Dprofile_shortcut_manager_win.cc659 : profile_manager_(manager) { in ProfileShortcutManagerWin()
667 profile_manager_->GetProfileInfoCache().AddObserver(this); in ProfileShortcutManagerWin()
671 profile_manager_->GetProfileInfoCache().RemoveObserver(this); in ~ProfileShortcutManagerWin()
713 const ProfileInfoCache& cache = profile_manager_->GetProfileInfoCache(); in GetShortcutProperties()
735 if (profile_manager_->GetProfileInfoCache().GetNumberOfProfiles() == 2) { in OnProfileAdded()
747 const ProfileInfoCache& cache = profile_manager_->GetProfileInfoCache(); in OnProfileWasRemoved()
778 const ProfileInfoCache& cache = profile_manager_->GetProfileInfoCache(); in GetOtherProfilePath()
795 ProfileInfoCache* cache = &profile_manager_->GetProfileInfoCache(); in CreateOrUpdateShortcutsForProfileAtPath()
/external/chromium_org/chrome/browser/safe_browsing/incident_reporting/
Dlast_download_finder_unittest.cc106 profile_manager_.reset( in SetUp()
108 ASSERT_TRUE(profile_manager_->SetUp()); in SetUp()
114 profile_manager_->profile_manager()->GetLoadedProfiles()); in TearDown()
118 profile_manager_.reset(); in TearDown()
145 TestingProfile* profile = profile_manager_->CreateTestingProfile( in CreateProfile()
244 scoped_ptr<TestingProfileManager> profile_manager_; member in LastDownloadFinderTest
/external/chromium_org/chrome/browser/history/android/
Dsqlite_cursor_unittest.cc49 : profile_manager_( in SQLiteCursorTest()
61 ASSERT_TRUE(profile_manager_.SetUp()); in SetUp()
64 testing_profile_ = profile_manager_.CreateTestingProfile( in SetUp()
80 profile_manager_.DeleteTestingProfile(chrome::kInitialProfile); in TearDown()
102 TestingProfileManager profile_manager_; member in __anon862f42350111::SQLiteCursorTest
Dandroid_history_provider_service_unittest.cc38 : profile_manager_( in AndroidHistoryProviderServiceTest()
50 ASSERT_TRUE(profile_manager_.SetUp()); in SetUp()
53 testing_profile_ = profile_manager_.CreateTestingProfile( in SetUp()
65 profile_manager_.DeleteTestingProfile(chrome::kInitialProfile); in TearDown()
70 TestingProfileManager profile_manager_; member in __anonabf59ab20111::AndroidHistoryProviderServiceTest
Dbookmark_model_sql_handler_unittest.cc30 : profile_manager_( in BookmarkModelSQLHandlerTest()
42 ASSERT_TRUE(profile_manager_.SetUp()); in SetUp()
45 TestingProfile* testing_profile = profile_manager_.CreateTestingProfile( in SetUp()
70 TestingProfileManager profile_manager_; member in history::BookmarkModelSQLHandlerTest
/external/chromium_org/chrome/browser/notifications/
Dmessage_center_notifications_unittest.cc55 profile_manager_.reset(new TestingProfileManager(browser_process)); in SetUp()
56 ASSERT_TRUE(profile_manager_->SetUp()); in SetUp()
82 profile_manager_.reset(); in TearDown()
120 scoped_ptr<TestingProfileManager> profile_manager_; member in message_center::MessageCenterNotificationManagerTest
/external/chromium_org/chrome/browser/ui/ash/
Dsession_state_delegate_chromeos_unittest.cc71 profile_manager_.reset(); in TearDown()
99 profile_manager_.reset( in InitForMultiProfile()
101 ASSERT_TRUE(profile_manager_->SetUp()); in InitForMultiProfile()
107 user_profile_ = profile_manager_->CreateTestingProfile(user_email); in InitForMultiProfile()
115 scoped_ptr<TestingProfileManager> profile_manager_; member in chromeos::SessionStateDelegateChromeOSTest
/external/chromium_org/chrome/browser/ui/app_list/
Dapp_list_service_impl.cc85 : profile_manager_(profile_manager), in ProfileStoreImpl()
90 profile_manager_->GetProfileInfoCache().AddObserver(observer); in AddProfileObserver()
96 profile_manager_->CreateProfileAsync( in LoadProfileAsync()
126 return profile_manager_->GetProfileByPath(path); in GetProfileByPath()
130 return profile_manager_->user_data_dir(); in GetUserDataDir()
143 ProfileManager* profile_manager_; member in __anon6c39d38b0111::ProfileStoreImpl
/external/chromium_org/chrome/browser/signin/
Dsignin_error_notifier_ash_unittest.cc73 profile_manager_.reset( in SetUp()
75 ASSERT_TRUE(profile_manager_->SetUp()); in SetUp()
98 profile_manager_.reset(); in TearDown()
114 scoped_ptr<TestingProfileManager> profile_manager_; member in ash::test::SigninErrorNotifierTest
/external/chromium_org/chrome/browser/ui/cocoa/
Dcocoa_profile_test.h47 return &profile_manager_; in testing_profile_manager()
62 TestingProfileManager profile_manager_;
Dcocoa_profile_test.mm23 : profile_manager_(TestingBrowserProcess::GetGlobal()), function
47 ASSERT_TRUE(profile_manager_.SetUp());
49 profile_ = profile_manager_.CreateTestingProfile("Person 1");
/external/chromium_org/win8/metro_driver/ime/
Dinput_source.cc90 : profile_manager_(profile_manager), in InputSourceImpl()
104 HRESULT hr = profile_manager_->GetActiveProfile(GUID_TFCAT_TIP_KEYBOARD, in GetActiveSource()
127 base::win::ScopedComPtr<ITfInputProcessorProfileMgr> profile_manager_; member in metro_driver::__anonaba3aa360111::InputSourceImpl
/external/chromium_org/chrome/browser/chromeos/file_system_provider/fileapi/
Dfile_stream_writer_unittest.cc73 profile_manager_.reset( in SetUp()
75 ASSERT_TRUE(profile_manager_->SetUp()); in SetUp()
76 profile_ = profile_manager_->CreateTestingProfile("testing-profile"); in SetUp()
112 scoped_ptr<TestingProfileManager> profile_manager_; member in chromeos::file_system_provider::FileSystemProviderFileStreamWriter
/external/chromium_org/chrome/browser/nacl_host/
Dnacl_browser_delegate_impl.cc88 : profile_manager_(profile_manager), inverse_debug_patterns_(false) { in NaClBrowserDelegateImpl()
89 DCHECK(profile_manager_); in NaClBrowserDelegateImpl()
227 Profile* profile = profile_manager_->GetProfileByPath(profile_directory); in GetExtensionInfoMap()
/external/chromium_org/chrome/browser/chromeos/login/users/
Dmulti_profile_user_controller_unittest.cc123 profile_manager_.reset( in SetUp()
125 ASSERT_TRUE(profile_manager_->SetUp()); in SetUp()
135 profile_manager_->CreateTestingProfile(user_email); in SetUp()
155 profile_manager_.reset(); in TearDown()
205 scoped_ptr<TestingProfileManager> profile_manager_; member in chromeos::MultiProfileUserControllerTest
/external/chromium_org/chrome/browser/chromeos/fileapi/
Dexternal_file_url_request_job_unittest.cc119 profile_manager_.reset( in SetUp()
121 ASSERT_TRUE(profile_manager_->SetUp()); in SetUp()
123 profile_manager_->CreateTestingProfile("test-user"); in SetUp()
140 virtual void TearDown() { profile_manager_.reset(); } in TearDown()
224 scoped_ptr<TestingProfileManager> profile_manager_; member in chromeos::ExternalFileURLRequestJobTest

123