Home
last modified time | relevance | path

Searched refs:profile2 (Results 1 – 25 of 31) sorted by relevance

12

/external/chromium_org/chrome/browser/extensions/activity_log/
Dactivity_log_enabled_unittest.cc69 scoped_ptr<TestingProfile> profile2( in TEST_F() local
78 ActivityLog* activity_log2 = ActivityLog::GetInstance(profile2.get()); in TEST_F()
83 profile2->GetPrefs()->GetInteger(prefs::kWatchdogExtensionActive)); in TEST_F()
93 scoped_ptr<TestingProfile> profile2( in TEST_F() local
101 profile2->GetPrefs()->GetInteger(prefs::kWatchdogExtensionActive)); in TEST_F()
108 ActivityLog* activity_log2 = ActivityLog::GetInstance(profile2.get()); in TEST_F()
114 profile2->GetPrefs()->GetInteger(prefs::kWatchdogExtensionActive)); in TEST_F()
129 scoped_ptr<TestingProfile> profile2( in TEST_F() local
140 ActivityLog* activity_log2 = ActivityLog::GetInstance(profile2.get()); in TEST_F()
148 profile2->GetPrefs()->GetInteger(prefs::kWatchdogExtensionActive)); in TEST_F()
[all …]
/external/chromium_org/components/autofill/core/browser/
Dautofill_ie_toolbar_import_win_unittest.cc54 ValueDescription profile2[] = { variable
150 CreateSubkey(&profile_key, L"1", profile2, arraysize(profile2)); in TEST_F()
180 EXPECT_EQ(profile2[0].value, profiles[0].GetRawInfo(NAME_FIRST)); in TEST_F()
181 EXPECT_EQ(profile2[1].value, profiles[0].GetRawInfo(NAME_LAST)); in TEST_F()
182 EXPECT_EQ(profile2[2].value, profiles[0].GetRawInfo(EMAIL_ADDRESS)); in TEST_F()
183 EXPECT_EQ(profile2[3].value, profiles[0].GetRawInfo(COMPANY_NAME)); in TEST_F()
Dpersonal_data_manager_unittest.cc205 AutofillProfile profile2(base::GenerateGUID(), "https://www.example.com"); in TEST_F() local
206 test::SetProfileInfo(&profile2, in TEST_F()
229 personal_data_->AddProfile(profile2); in TEST_F()
238 profiles.push_back(&profile2); in TEST_F()
547 AutofillProfile profile2(base::GenerateGUID(), "https://www.example.com"); in TEST_F() local
548 test::SetProfileInfo(&profile2, in TEST_F()
553 autofill_database_service_->AddAutofillProfile(profile2); in TEST_F()
565 profiles.push_back(&profile2); in TEST_F()
569 autofill_database_service_->RemoveAutofillProfile(profile2.guid()); in TEST_F()
577 profile2.SetRawInfo(NAME_FIRST, ASCIIToUTF16("Jo")); in TEST_F()
[all …]
/external/chromium_org/chrome/browser/sync/test/integration/
Dsync_app_helper.cc132 bool SyncAppHelper::AppStatesMatch(Profile* profile1, Profile* profile2) { in AppStatesMatch() argument
134 profile1, profile2)) in AppStatesMatch()
138 const AppStateMap& state_map2 = GetAppStates(profile2); in AppStatesMatch()
141 << " does not match profile " << profile2->GetDebugName(); in AppStatesMatch()
150 << " do not match profile " << profile2->GetDebugName(); in AppStatesMatch()
157 DVLOG(2) << "Apps for profile " << profile2->GetDebugName() in AppStatesMatch()
162 << " do not match profile " << profile2->GetDebugName(); in AppStatesMatch()
Dsync_extension_helper.cc243 Profile* profile1, Profile* profile2) { in ExtensionStatesMatch() argument
245 const ExtensionStateMap& state_map2 = GetExtensionStates(profile2); in ExtensionStatesMatch()
248 << " does not match profile " << profile2->GetDebugName(); in ExtensionStatesMatch()
257 << " do not match profile " << profile2->GetDebugName(); in ExtensionStatesMatch()
261 << " do not match profile " << profile2->GetDebugName(); in ExtensionStatesMatch()
Dsync_app_helper.h28 bool AppStatesMatch(Profile* profile1, Profile* profile2);
Dsync_extension_helper.h75 static bool ExtensionStatesMatch(Profile* profile1, Profile* profile2);
/external/chromium_org/chrome/browser/background/
Dbackground_mode_manager_unittest.cc394 TestingProfile* profile2 = profile_manager_->CreateTestingProfile("p2"); in TEST_F() local
398 manager.RegisterProfile(profile2); in TEST_F()
410 manager.OnApplicationListChanged(profile2); in TEST_F()
424 manager.OnApplicationListChanged(profile2); in TEST_F()
434 TestingProfile* profile2 = profile_manager_->CreateTestingProfile("p2"); in TEST_F() local
438 manager.RegisterProfile(profile2); in TEST_F()
457 manager.OnApplicationListChanged(profile2); in TEST_F()
469 manager.OnApplicationListChanged(profile2); in TEST_F()
499 TestingProfile* profile2 = profile_manager_->CreateTestingProfile("p2"); in TEST_F() local
500 manager.RegisterProfile(profile2); in TEST_F()
[all …]
/external/chromium_org/chrome/browser/profiles/
Dprofile_manager_unittest.cc262 TestingProfile* profile2 = in TEST_F() local
264 ASSERT_TRUE(profile2); in TEST_F()
272 profile2->CreateBookmarkModel(true); in TEST_F()
273 EXPECT_TRUE(BookmarkModelFactory::GetForProfile(profile2)); in TEST_F()
274 ASSERT_TRUE(profile2->CreateHistoryService(true, false)); in TEST_F()
275 EXPECT_TRUE(HistoryServiceFactory::GetForProfile(profile2, in TEST_F()
605 TestingProfile* profile2 = in TEST_F() local
607 ASSERT_TRUE(profile2); in TEST_F()
623 Browser::CreateParams profile2_params(profile2, chrome::GetActiveDesktop()); in TEST_F()
630 EXPECT_EQ(profile2, last_opened_profiles[1]); in TEST_F()
[all …]
/external/chromium_org/chrome/browser/ui/app_list/
Dapp_list_service_impl_browsertest.cc98 Profile* profile2 = test::CreateSecondProfileAsync(); in IN_PROC_BROWSER_TEST_F() local
99 service_->ShowForProfile(profile2); in IN_PROC_BROWSER_TEST_F()
103 EXPECT_EQ(profile2->GetPath(), service_->GetProfilePath(user_data_dir)); in IN_PROC_BROWSER_TEST_F()
104 EXPECT_EQ(profile2, service_->GetCurrentAppListProfile()); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/spellchecker/
Dspellcheck_custom_dictionary_unittest.cc194 TestingProfile profile2; in TEST_F() local
198 &profile2, &BuildSpellcheckService)); in TEST_F()
437 TestingProfile profile2; in TEST_F() local
441 &profile2, &BuildSpellcheckService)); in TEST_F()
488 TestingProfile profile2; in TEST_F() local
492 &profile2, &BuildSpellcheckService)); in TEST_F()
536 TestingProfile profile2; in TEST_F() local
540 &profile2, &BuildSpellcheckService)); in TEST_F()
593 TestingProfile profile2; in TEST_F() local
597 &profile2, &BuildSpellcheckService)); in TEST_F()
[all …]
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/autofill/
DPersonalDataManagerTest.java47 AutofillProfile profile2 = new AutofillProfile( in testAddAndEditProfiles() local
53 String profileTwoGUID = mHelper.setProfile(profile2); in testAddAndEditProfiles()
172 AutofillProfile profile2 = new AutofillProfile( in testRespectCountryCodes() local
178 String profileGuid2 = mHelper.setProfile(profile2); in testRespectCountryCodes()
236 AutofillProfile profile2 = new AutofillProfile( in testLabels() local
258 mHelper.setProfile(profile2); in testLabels()
/external/chromium_org/components/autofill/core/browser/webdata/
Dautofill_profile_syncable_service_unittest.cc300 AutofillProfile profile2(guid_synced2, origin_synced2); in TEST_F() local
301 profile2.SetRawInfo(NAME_FIRST, ASCIIToUTF16("Harry")); in TEST_F()
302 data_list.push_back(autofill_syncable_service_.CreateData(profile2)); in TEST_F()
317 expected_bundle.profiles_to_add.push_back(&profile2); in TEST_F()
354 AutofillProfile profile2(guid_synced2, origin_synced2); in TEST_F() local
355 profile2.SetRawInfo(NAME_FIRST, ASCIIToUTF16("Tom")); in TEST_F()
356 profile2.SetRawInfo(ADDRESS_HOME_LINE1, ASCIIToUTF16("2 2nd st")); in TEST_F()
357 data_list.push_back(autofill_syncable_service_.CreateData(profile2)); in TEST_F()
359 AutofillProfile expected_profile(profile2); in TEST_F()
409 AutofillProfile profile2(guid_synced2, origin_synced2); in TEST_F() local
[all …]
Dweb_data_service_unittest.cc355 AutofillProfile profile2("6141084B-72D7-4B73-90CF-3D6AC154673B", in TEST_F() local
357 profile2.SetRawInfo(NAME_FIRST, ASCIIToUTF16("Alice")); in TEST_F()
364 wds_->AddAutofillProfile(profile2); in TEST_F()
374 EXPECT_EQ(profile2, *consumer.result()[1]); in TEST_F()
377 AutofillProfile profile2_changed(profile2); in TEST_F()
380 AutofillProfileChange::UPDATE, profile2.guid(), &profile2_changed); in TEST_F()
397 EXPECT_NE(profile2, *consumer2.result()[1]); in TEST_F()
/external/chromium_org/chrome/browser/net/
Dnss_context_chromeos_browsertest.cc150 Profile* profile2 = chromeos::ProfileHelper::Get()->GetProfileByUserUnsafe( in IN_PROC_BROWSER_TEST_F() local
152 ASSERT_TRUE(profile2); in IN_PROC_BROWSER_TEST_F()
154 DBTester tester2(profile2); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/ui/ash/launcher/
Dchrome_launcher_controller_unittest.cc1344 TestingProfile* profile2 = CreateMultiUserProfile(user2); in TEST_F() local
1345 SwitchActiveUser(profile2->GetProfileName()); in TEST_F()
1364 TestingProfile* profile2 = CreateMultiUserProfile(user2); in TEST_F() local
1368 profile2, extension_misc::kGmailAppId, gmail_url)); in TEST_F()
1372 SwitchActiveUser(profile2->GetProfileName()); in TEST_F()
1382 SwitchActiveUser(profile2->GetProfileName()); in TEST_F()
1399 TestingProfile* profile2 = CreateMultiUserProfile(user2); in TEST_F() local
1412 SwitchActiveUser(profile2->GetProfileName()); in TEST_F()
1428 SwitchActiveUser(profile2->GetProfileName()); in TEST_F()
1442 TestingProfile* profile2 = CreateMultiUserProfile(user2); in TEST_F() local
[all …]
/external/chromium_org/chrome/browser/importer/
Dprofile_writer_unittest.cc139 TestingProfile profile2; in TEST_F() local
140 profile2.CreateBookmarkModel(true); in TEST_F()
143 BookmarkModelFactory::GetForProfile(&profile2); in TEST_F()
/external/chromium_org/chrome/browser/extensions/
Duser_script_listener_unittest.cc290 TestingProfile profile2; in TEST_F() local
296 extensions::ExtensionRegistry::Get(&profile2)->AddEnabled(extension); in TEST_F()
300 content::Source<Profile>(&profile2), in TEST_F()
322 content::Source<Profile>(&profile2), in TEST_F()
/external/chromium_org/chrome/browser/ui/startup/
Dstartup_browser_creator_browsertest.cc668 Profile* profile2 = profile_manager->GetProfile( in IN_PROC_BROWSER_TEST_F() local
670 ASSERT_TRUE(profile2); in IN_PROC_BROWSER_TEST_F()
682 Browser::CreateParams(Browser::TYPE_TABBED, profile2, in IN_PROC_BROWSER_TEST_F()
705 SessionStartupPref::SetStartupPref(profile2, pref2); in IN_PROC_BROWSER_TEST_F()
708 profile2->GetPrefs()->CommitPendingWrite(); in IN_PROC_BROWSER_TEST_F()
735 Profile* profile2 = profile_manager->GetProfile( in IN_PROC_BROWSER_TEST_F() local
737 ASSERT_TRUE(profile2); in IN_PROC_BROWSER_TEST_F()
745 last_opened_profiles.push_back(profile2); in IN_PROC_BROWSER_TEST_F()
750 SessionRestore::IsRestoring(profile2)) in IN_PROC_BROWSER_TEST_F()
756 EXPECT_TRUE(profile2->restored_last_session()); in IN_PROC_BROWSER_TEST_F()
[all …]
/external/chromium_org/chrome/browser/autofill/
Dautofill_browsertest.cc311 AutofillProfile profile2; in IN_PROC_BROWSER_TEST_F() local
312 profile2.SetRawInfo(NAME_FIRST, in IN_PROC_BROWSER_TEST_F()
316 profile2.SetRawInfo(NAME_LAST, WideToUTF16(L"aguantó")); in IN_PROC_BROWSER_TEST_F()
317 profile2.SetRawInfo(ADDRESS_HOME_ZIP, WideToUTF16(L"HOME 94043")); in IN_PROC_BROWSER_TEST_F()
318 profiles.push_back(profile2); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/captive_portal/
Dcaptive_portal_service_unittest.cc291 TestingProfile profile2; in TEST_F() local
293 new CaptivePortalService(&profile2)); in TEST_F()
294 CaptivePortalObserver observer2(&profile2, service2.get()); in TEST_F()
/external/chromium_org/chrome/browser/chromeos/drive/
Dfile_system_util_unittest.cc67 Profile* profile2 = testing_profile_manager().CreateTestingProfile("user2"); in TEST_F() local
75 EXPECT_EQ(profile2, in TEST_F()
/external/chromium_org/chrome/browser/safe_browsing/
Dsafe_browsing_service_browsertest.cc880 scoped_ptr<Profile> profile2(Profile::CreateProfile( in IN_PROC_BROWSER_TEST_F() local
882 ASSERT_TRUE(profile2.get() != NULL); in IN_PROC_BROWSER_TEST_F()
883 StartupTaskRunnerServiceFactory::GetForProfile(profile2.get())-> in IN_PROC_BROWSER_TEST_F()
885 PrefService* pref_service2 = profile2->GetPrefs(); in IN_PROC_BROWSER_TEST_F()
912 profile2.reset(); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/ui/cocoa/profiles/
Dprofile_menu_controller_unittest.mm198 TestingProfile* profile2 = manager->CreateTestingProfile("Profile 2");
203 Browser::CreateParams profile2_params(profile2, chrome::GetActiveDesktop());
/external/chromium_org/chrome/browser/ui/
Dbrowser_command_controller_unittest.cc437 Profile* profile2 = profile1->GetOffTheRecordProfile(); in TEST_F() local
439 EXPECT_EQ(profile2->GetOriginalProfile(), profile1.get()); in TEST_F()

12