Home
last modified time | relevance | path

Searched refs:profile1 (Results 1 – 24 of 24) sorted by relevance

/external/chromium_org/chrome/browser/extensions/activity_log/
Dactivity_log_enabled_unittest.cc67 scoped_ptr<TestingProfile> profile1( in TEST_F() local
76 ActivityLog* activity_log1 = ActivityLog::GetInstance(profile1.get()); in TEST_F()
81 profile1->GetPrefs()->GetInteger(prefs::kWatchdogExtensionActive)); in TEST_F()
91 scoped_ptr<TestingProfile> profile1( in TEST_F() local
99 profile1->GetPrefs()->GetInteger(prefs::kWatchdogExtensionActive)); in TEST_F()
105 profile1->GetPrefs()->SetInteger(prefs::kWatchdogExtensionActive, 1); in TEST_F()
107 ActivityLog* activity_log1 = ActivityLog::GetInstance(profile1.get()); in TEST_F()
112 profile1->GetPrefs()->GetInteger(prefs::kWatchdogExtensionActive)); in TEST_F()
127 scoped_ptr<TestingProfile> profile1( in TEST_F() local
134 ExtensionSystem::Get(profile1.get()))->CreateExtensionService( in TEST_F()
[all …]
/external/chromium_org/components/autofill/core/browser/
Dautofill_ie_toolbar_import_win_unittest.cc43 ValueDescription profile1[] = { variable
149 CreateSubkey(&profile_key, L"0", profile1, arraysize(profile1)); in TEST_F()
167 EXPECT_EQ(profile1[0].value, profiles[1].GetRawInfo(NAME_FIRST)); in TEST_F()
168 EXPECT_EQ(profile1[1].value, profiles[1].GetRawInfo(NAME_MIDDLE)); in TEST_F()
169 EXPECT_EQ(profile1[2].value, profiles[1].GetRawInfo(NAME_LAST)); in TEST_F()
170 EXPECT_EQ(profile1[3].value, profiles[1].GetRawInfo(EMAIL_ADDRESS)); in TEST_F()
171 EXPECT_EQ(profile1[4].value, profiles[1].GetRawInfo(COMPANY_NAME)); in TEST_F()
172 EXPECT_EQ(profile1[7].value, in TEST_F()
174 EXPECT_EQ(profile1[6].value, in TEST_F()
Dpersonal_data_manager_unittest.cc173 AutofillProfile profile1 = profile0; in TEST_F() local
174 profile1.set_guid(base::GenerateGUID()); in TEST_F()
175 profile1.SetRawInfo(EMAIL_ADDRESS, ASCIIToUTF16("john@smith.com")); in TEST_F()
180 personal_data_->AddProfile(profile1); in TEST_F()
188 profiles.push_back(&profile1); in TEST_F()
199 AutofillProfile profile1(base::GenerateGUID(), "https://www.example.com"); in TEST_F() local
200 test::SetProfileInfo(&profile1, in TEST_F()
213 personal_data_->AddProfile(profile1); in TEST_F()
222 profiles.push_back(&profile1); in TEST_F()
228 personal_data_->RemoveByGUID(profile1.guid()); in TEST_F()
[all …]
Dautofill_profile_unittest.cc104 AutofillProfile profile1(base::GenerateGUID(), "https://www.example.com/"); in TEST() local
105 test::SetProfileInfo(&profile1, "", "", "", in TEST()
108 base::string16 summary1 = GetLabel(&profile1); in TEST()
/external/chromium_org/chrome/browser/profiles/
Dprofile_manager_unittest.cc258 TestingProfile* profile1 = in TEST_F() local
260 ASSERT_TRUE(profile1); in TEST_F()
267 ASSERT_TRUE(profile1->CreateHistoryService(true, false)); in TEST_F()
268 EXPECT_TRUE(HistoryServiceFactory::GetForProfile(profile1, in TEST_F()
270 profile1->CreateBookmarkModel(true); in TEST_F()
271 EXPECT_TRUE(BookmarkModelFactory::GetForProfile(profile1)); in TEST_F()
601 TestingProfile* profile1 = in TEST_F() local
603 ASSERT_TRUE(profile1); in TEST_F()
614 Browser::CreateParams profile1_params(profile1, chrome::GetActiveDesktop()); in TEST_F()
620 EXPECT_EQ(profile1, last_opened_profiles[0]); in TEST_F()
[all …]
/external/chromium_org/components/autofill/core/browser/webdata/
Dautofill_profile_syncable_service_unittest.cc297 AutofillProfile profile1(guid_synced1, origin_synced1); in TEST_F() local
298 profile1.SetRawInfo(NAME_FIRST, ASCIIToUTF16("Jane")); in TEST_F()
299 data_list.push_back(autofill_syncable_service_.CreateData(profile1)); in TEST_F()
316 expected_bundle.profiles_to_add.push_back(&profile1); in TEST_F()
350 AutofillProfile profile1(guid_synced1, origin_synced1); in TEST_F() local
351 profile1.SetRawInfo(NAME_FIRST, ASCIIToUTF16("John")); in TEST_F()
352 profile1.SetRawInfo(ADDRESS_HOME_LINE1, ASCIIToUTF16("1 1st st")); in TEST_F()
353 data_list.push_back(autofill_syncable_service_.CreateData(profile1)); in TEST_F()
371 expected_bundle.profiles_to_add.push_back(&profile1); in TEST_F()
404 AutofillProfile profile1(guid_synced1, origin_synced1); in TEST_F() local
[all …]
Dweb_data_service_unittest.cc352 AutofillProfile profile1("087151C8-6AB1-487C-9095-28E80BE5DA15", in TEST_F() local
354 profile1.SetRawInfo(NAME_FIRST, ASCIIToUTF16("Abe")); in TEST_F()
363 wds_->AddAutofillProfile(profile1); in TEST_F()
373 EXPECT_EQ(profile1, *consumer.result()[0]); in TEST_F()
395 EXPECT_EQ(profile1, *consumer2.result()[0]); in TEST_F()
/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()
137 const AppStateMap& state_map1 = GetAppStates(profile1); in AppStatesMatch()
140 DVLOG(2) << "Number of Apps for profile " << profile1->GetDebugName() in AppStatesMatch()
149 DVLOG(2) << "Apps for profile " << profile1->GetDebugName() in AppStatesMatch()
153 DVLOG(2) << "Apps for profile " << profile1->GetDebugName() in AppStatesMatch()
161 DVLOG(2) << "App states for profile " << profile1->GetDebugName() in AppStatesMatch()
Dsync_extension_helper.cc243 Profile* profile1, Profile* profile2) { in ExtensionStatesMatch() argument
244 const ExtensionStateMap& state_map1 = GetExtensionStates(profile1); in ExtensionStatesMatch()
247 DVLOG(1) << "Number of extensions for profile " << profile1->GetDebugName() in ExtensionStatesMatch()
256 DVLOG(1) << "Extensions for profile " << profile1->GetDebugName() in ExtensionStatesMatch()
260 DVLOG(1) << "Extension states for profile " << profile1->GetDebugName() in ExtensionStatesMatch()
Dtwo_client_autofill_sync_test.cc213 AutofillProfile profile1 = CreateAutofillProfile(PROFILE_HOMER); in IN_PROC_BROWSER_TEST_F() local
214 profile1.SetRawInfo(autofill::PHONE_HOME_WHOLE_NUMBER, in IN_PROC_BROWSER_TEST_F()
218 AddProfile(1, profile1); in IN_PROC_BROWSER_TEST_F()
Dsync_app_helper.h28 bool AppStatesMatch(Profile* profile1, Profile* profile2);
Dsync_app_list_helper.h48 void CopyOrdinalsToVerifier(Profile* profile1, const std::string& id);
Dsync_extension_helper.h75 static bool ExtensionStatesMatch(Profile* profile1, Profile* profile2);
/external/chromium_org/chrome/browser/importer/
Dprofile_writer_unittest.cc147 TestingProfile profile1; in TEST_F() local
148 profile1.CreateBookmarkModel(true); in TEST_F()
152 BookmarkModelFactory::GetForProfile(&profile1); in TEST_F()
156 new TestProfileWriter(&profile1)); in TEST_F()
/external/chromium_org/chrome/browser/net/
Dnss_context_chromeos_browsertest.cc138 Profile* profile1 = chromeos::ProfileHelper::Get()->GetProfileByUserUnsafe( in IN_PROC_BROWSER_TEST_F() local
140 ASSERT_TRUE(profile1); in IN_PROC_BROWSER_TEST_F()
142 DBTester tester1(profile1); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/autofill/
Dautofill_browsertest.cc282 AutofillProfile profile1; in IN_PROC_BROWSER_TEST_F() local
283 profile1.SetRawInfo(NAME_FIRST, in IN_PROC_BROWSER_TEST_F()
293 profile1.SetRawInfo(NAME_MIDDLE, WideToUTF16(L"BANK\xcBERF\xc4LLE")); in IN_PROC_BROWSER_TEST_F()
294 profile1.SetRawInfo(EMAIL_ADDRESS, in IN_PROC_BROWSER_TEST_F()
297 profile1.SetRawInfo(ADDRESS_HOME_LINE1, in IN_PROC_BROWSER_TEST_F()
302 profile1.SetRawInfo(ADDRESS_HOME_CITY, in IN_PROC_BROWSER_TEST_F()
305 profile1.SetRawInfo(ADDRESS_HOME_ZIP, WideToUTF16(L"YOHO_54676")); in IN_PROC_BROWSER_TEST_F()
306 profile1.SetRawInfo(PHONE_HOME_WHOLE_NUMBER, WideToUTF16(L"861088828000")); in IN_PROC_BROWSER_TEST_F()
307 profile1.SetInfo( in IN_PROC_BROWSER_TEST_F()
309 profiles.push_back(profile1); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/autofill/
DPersonalDataManagerTest.java164 AutofillProfile profile1 = new AutofillProfile( in testRespectCountryCodes() local
170 String profileGuid1 = mHelper.setProfile(profile1); in testRespectCountryCodes()
229 AutofillProfile profile1 = new AutofillProfile( in testLabels() local
257 mHelper.setProfile(profile1); in testLabels()
/external/chromium_org/chrome/browser/ui/startup/
Dstartup_browser_creator_browsertest.cc664 Profile* profile1 = profile_manager->GetProfile( in IN_PROC_BROWSER_TEST_F() local
666 ASSERT_TRUE(profile1); in IN_PROC_BROWSER_TEST_F()
674 Browser::CreateParams(Browser::TYPE_TABBED, profile1, in IN_PROC_BROWSER_TEST_F()
702 SessionStartupPref::SetStartupPref(profile1, pref1); in IN_PROC_BROWSER_TEST_F()
707 profile1->GetPrefs()->CommitPendingWrite(); in IN_PROC_BROWSER_TEST_F()
731 Profile* profile1 = profile_manager->GetProfile( in IN_PROC_BROWSER_TEST_F() local
733 ASSERT_TRUE(profile1); in IN_PROC_BROWSER_TEST_F()
744 last_opened_profiles.push_back(profile1); in IN_PROC_BROWSER_TEST_F()
746 browser_creator.Start(dummy, profile_manager->user_data_dir(), profile1, in IN_PROC_BROWSER_TEST_F()
749 while (SessionRestore::IsRestoring(profile1) || in IN_PROC_BROWSER_TEST_F()
[all …]
/external/chromium_org/chrome/browser/ui/
Dbrowser_command_controller_unittest.cc436 scoped_ptr<TestingProfile> profile1 = TestingProfile::Builder().Build(); in TEST_F() local
437 Profile* profile2 = profile1->GetOffTheRecordProfile(); in TEST_F()
439 EXPECT_EQ(profile2->GetOriginalProfile(), profile1.get()); in TEST_F()
442 Browser::CreateParams profile_params(profile1->GetOffTheRecordProfile(), in TEST_F()
452 profile1->GetPrefs()->SetBoolean(prefs::kSigninAllowed, false); in TEST_F()
/external/chromium_org/chrome/browser/chromeos/drive/
Dfile_system_util_unittest.cc66 Profile* profile1 = testing_profile_manager().CreateTestingProfile("user1"); in TEST_F() local
72 EXPECT_EQ(profile1, in TEST_F()
/external/chromium_org/chrome/browser/ui/ash/launcher/
Dchrome_launcher_controller_unittest.cc2247 TestingProfile* profile1 = CreateMultiUserProfile("user-1"); in TEST_F() local
2250 SwitchActiveUser(profile1->GetProfileName()); in TEST_F()
2254 V2App v2_app_1(profile1, extension1_.get()); in TEST_F()
2260 V2App v2_app_2(profile1, extension1_.get()); in TEST_F()
2272 V2App v2_app_3(profile1, extension1_.get()); in TEST_F()
2279 SwitchActiveUser(profile1->GetProfileName()); in TEST_F()
2280 V2App v2_app_4(profile1, extension1_.get()); in TEST_F()
2289 V2App v2_app_5(profile1, extension1_.get()); in TEST_F()
2291 SwitchActiveUser(profile1->GetProfileName()); in TEST_F()
2298 V2App v2_app_6(profile1, extension1_.get()); in TEST_F()
/external/chromium_org/chrome/browser/task_manager/
Dtask_manager.cc799 const base::string16& profile1 = GetResourceProfileName(row1); in CompareValues() local
801 return profile1.compare(0, profile1.length(), profile2, 0, in CompareValues()
/external/chromium_org/chrome/browser/ui/panels/
Dstacked_panel_browsertest.cc1050 Profile* profile1 = browser()->profile(); in IN_PROC_BROWSER_TEST_F() local
1057 params1.profile = profile1; in IN_PROC_BROWSER_TEST_F()
1062 params2.profile = profile1; in IN_PROC_BROWSER_TEST_F()
1093 params5.profile = profile1; in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/sync/
Dprofile_sync_service_autofill_unittest.cc897 bool IncludesField(const AutofillProfile& profile1, in IncludesField() argument
901 profile1.GetRawMultiInfo(field_type, &values1); in IncludesField()