/external/chromium_org/chrome/browser/extensions/activity_log/ |
H A D | activity_log_enabled_unittest.cc | 69 scoped_ptr<TestingProfile> profile2( 78 ActivityLog* activity_log2 = ActivityLog::GetInstance(profile2.get()); 83 profile2->GetPrefs()->GetInteger(prefs::kWatchdogExtensionActive)); 93 scoped_ptr<TestingProfile> profile2( 101 profile2->GetPrefs()->GetInteger(prefs::kWatchdogExtensionActive)); 108 ActivityLog* activity_log2 = ActivityLog::GetInstance(profile2.get()); 114 profile2->GetPrefs()->GetInteger(prefs::kWatchdogExtensionActive)); 129 scoped_ptr<TestingProfile> profile2( 140 ActivityLog* activity_log2 = ActivityLog::GetInstance(profile2.get()); 148 profile2 [all...] |
/external/chromium_org/chrome/browser/ui/app_list/ |
H A D | app_list_service_impl_browsertest.cc | 98 Profile* profile2 = test::CreateSecondProfileAsync(); local 99 service_->ShowForProfile(profile2); 103 EXPECT_EQ(profile2->GetPath(), service_->GetProfilePath(user_data_dir)); 104 EXPECT_EQ(profile2, service_->GetCurrentAppListProfile());
|
/external/chromium_org/chrome/browser/sync/test/integration/ |
H A D | sync_app_helper.cc | 132 bool SyncAppHelper::AppStatesMatch(Profile* profile1, Profile* profile2) { argument 134 profile1, profile2)) 138 const AppStateMap& state_map2 = GetAppStates(profile2); 141 << " does not match profile " << profile2->GetDebugName(); 150 << " do not match profile " << profile2->GetDebugName(); 157 DVLOG(2) << "Apps for profile " << profile2->GetDebugName() 162 << " do not match profile " << profile2->GetDebugName();
|
H A D | sync_app_helper.h | 26 // Returns true iff |profile1| and |profile2| have the same apps and 28 bool AppStatesMatch(Profile* profile1, Profile* profile2);
|
H A D | sync_extension_helper.cc | 243 Profile* profile1, Profile* profile2) { 245 const ExtensionStateMap& state_map2 = GetExtensionStates(profile2); 248 << " does not match profile " << profile2->GetDebugName(); 257 << " do not match profile " << profile2->GetDebugName(); 261 << " do not match profile " << profile2->GetDebugName(); 242 ExtensionStatesMatch( Profile* profile1, Profile* profile2) argument
|
H A D | sync_extension_helper.h | 73 // Returns true iff |profile1| and |profile2| have the same extensions and 75 static bool ExtensionStatesMatch(Profile* profile1, Profile* profile2);
|
/external/chromium_org/components/autofill/core/browser/ |
H A D | autofill_ie_toolbar_import_win_unittest.cc | 54 ValueDescription profile2[] = { member in namespace:autofill::__anon6315 150 CreateSubkey(&profile_key, L"1", profile2, arraysize(profile2)); 180 EXPECT_EQ(profile2[0].value, profiles[0].GetRawInfo(NAME_FIRST)); 181 EXPECT_EQ(profile2[1].value, profiles[0].GetRawInfo(NAME_LAST)); 182 EXPECT_EQ(profile2[2].value, profiles[0].GetRawInfo(EMAIL_ADDRESS)); 183 EXPECT_EQ(profile2[3].value, profiles[0].GetRawInfo(COMPANY_NAME));
|
H A D | personal_data_manager_unittest.cc | 205 AutofillProfile profile2(base::GenerateGUID(), "https://www.example.com"); 206 test::SetProfileInfo(&profile2, 229 personal_data_->AddProfile(profile2); 238 profiles.push_back(&profile2); 547 AutofillProfile profile2(base::GenerateGUID(), "https://www.example.com"); 548 test::SetProfileInfo(&profile2, 553 autofill_database_service_->AddAutofillProfile(profile2); 565 profiles.push_back(&profile2); 569 autofill_database_service_->RemoveAutofillProfile(profile2.guid()); 577 profile2 [all...] |
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/autofill/ |
H A D | PersonalDataManagerTest.java | 47 AutofillProfile profile2 = new AutofillProfile( 53 String profileTwoGUID = mHelper.setProfile(profile2); 172 AutofillProfile profile2 = new AutofillProfile( 178 String profileGuid2 = mHelper.setProfile(profile2); 236 AutofillProfile profile2 = new AutofillProfile( 258 mHelper.setProfile(profile2);
|
/external/chromium_org/chrome/browser/net/ |
H A D | nss_context_chromeos_browsertest.cc | 150 Profile* profile2 = chromeos::ProfileHelper::Get()->GetProfileByUserUnsafe( local 152 ASSERT_TRUE(profile2); 154 DBTester tester2(profile2);
|
/external/chromium_org/chrome/browser/background/ |
H A D | background_mode_manager_unittest.cc | 394 TestingProfile* profile2 = profile_manager_->CreateTestingProfile("p2"); local 398 manager.RegisterProfile(profile2); 410 manager.OnApplicationListChanged(profile2); 424 manager.OnApplicationListChanged(profile2); 434 TestingProfile* profile2 = profile_manager_->CreateTestingProfile("p2"); local 438 manager.RegisterProfile(profile2); 457 manager.OnApplicationListChanged(profile2); 469 manager.OnApplicationListChanged(profile2); 499 TestingProfile* profile2 = profile_manager_->CreateTestingProfile("p2"); local 500 manager.RegisterProfile(profile2); 639 TestingProfile* profile2 = profile_manager_->CreateTestingProfile("p2"); local [all...] |
/external/chromium_org/chrome/browser/profiles/ |
H A D | profile_manager_unittest.cc | 262 TestingProfile* profile2 = local 264 ASSERT_TRUE(profile2); 272 profile2->CreateBookmarkModel(true); 273 EXPECT_TRUE(BookmarkModelFactory::GetForProfile(profile2)); 274 ASSERT_TRUE(profile2->CreateHistoryService(true, false)); 275 EXPECT_TRUE(HistoryServiceFactory::GetForProfile(profile2, 605 TestingProfile* profile2 = local 607 ASSERT_TRUE(profile2); 622 // And for profile2. 623 Browser::CreateParams profile2_params(profile2, chrom 671 TestingProfile* profile2 = local 1017 Profile* profile2 = AddProfileToCache(profile_manager, local 1063 Profile* profile2 = AddProfileToCache(profile_manager, local 1117 Profile* profile2 = AddProfileToCache(profile_manager, local 1148 Profile* profile2 = AddProfileToCache( local [all...] |
/external/chromium_org/chrome/browser/spellchecker/ |
H A D | spellcheck_custom_dictionary_unittest.cc | 194 TestingProfile profile2; local 198 &profile2, &BuildSpellcheckService)); 437 TestingProfile profile2; local 441 &profile2, &BuildSpellcheckService)); 488 TestingProfile profile2; local 492 &profile2, &BuildSpellcheckService)); 536 TestingProfile profile2; local 540 &profile2, &BuildSpellcheckService)); 593 TestingProfile profile2; local 597 &profile2, 648 TestingProfile profile2; local 699 TestingProfile profile2; local 755 TestingProfile profile2; local 798 TestingProfile profile2; local 850 TestingProfile profile2; local 966 TestingProfile profile2; local [all...] |
/external/chromium_org/components/autofill/core/browser/webdata/ |
H A D | autofill_profile_syncable_service_unittest.cc | 300 AutofillProfile profile2(guid_synced2, origin_synced2); 301 profile2.SetRawInfo(NAME_FIRST, ASCIIToUTF16("Harry")); 302 data_list.push_back(autofill_syncable_service_.CreateData(profile2)); 317 expected_bundle.profiles_to_add.push_back(&profile2); 354 AutofillProfile profile2(guid_synced2, origin_synced2); 355 profile2.SetRawInfo(NAME_FIRST, ASCIIToUTF16("Tom")); 356 profile2.SetRawInfo(ADDRESS_HOME_LINE1, ASCIIToUTF16("2 2nd st")); 357 data_list.push_back(autofill_syncable_service_.CreateData(profile2)); 359 AutofillProfile expected_profile(profile2); 409 AutofillProfile profile2(guid_synced [all...] |
H A D | web_data_service_unittest.cc | 355 AutofillProfile profile2("6141084B-72D7-4B73-90CF-3D6AC154673B", 357 profile2.SetRawInfo(NAME_FIRST, ASCIIToUTF16("Alice")); 364 wds_->AddAutofillProfile(profile2); 374 EXPECT_EQ(profile2, *consumer.result()[1]); 377 AutofillProfile profile2_changed(profile2); 380 AutofillProfileChange::UPDATE, profile2.guid(), &profile2_changed); 397 EXPECT_NE(profile2, *consumer2.result()[1]);
|
/external/chromium_org/chrome/browser/ui/ash/launcher/ |
H A D | chrome_launcher_controller_unittest.cc | 1344 TestingProfile* profile2 = CreateMultiUserProfile(user2); local 1345 SwitchActiveUser(profile2->GetProfileName()); 1364 TestingProfile* profile2 = CreateMultiUserProfile(user2); local 1368 profile2, extension_misc::kGmailAppId, gmail_url)); 1372 SwitchActiveUser(profile2->GetProfileName()); 1382 SwitchActiveUser(profile2->GetProfileName()); 1399 TestingProfile* profile2 = CreateMultiUserProfile(user2); local 1412 SwitchActiveUser(profile2->GetProfileName()); 1428 SwitchActiveUser(profile2->GetProfileName()); 1442 TestingProfile* profile2 local 1478 TestingProfile* profile2 = CreateMultiUserProfile(user2); local 2016 TestingProfile* profile2 = CreateMultiUserProfile(user2); local 2155 TestingProfile* profile2 = CreateMultiUserProfile(user2); local 2181 TestingProfile* profile2 = CreateMultiUserProfile("user2"); local 2205 TestingProfile* profile2 = CreateMultiUserProfile("user2"); local 2248 TestingProfile* profile2 = CreateMultiUserProfile("user-2"); local 2310 TestingProfile* profile2 = CreateMultiUserProfile("user-2"); local [all...] |
/external/chromium_org/chrome/browser/extensions/ |
H A D | user_script_listener_unittest.cc | 290 TestingProfile profile2; local 296 extensions::ExtensionRegistry::Get(&profile2)->AddEnabled(extension); 300 content::Source<Profile>(&profile2), 310 // be blocked waiting for profile2. 319 // After profile2 is ready, the request should proceed. 322 content::Source<Profile>(&profile2),
|
/external/chromium_org/chrome/browser/importer/ |
H A D | profile_writer_unittest.cc | 137 // Add bookmarks via ProfileWriter to profile1 when profile2 also exists. 139 TestingProfile profile2; local 140 profile2.CreateBookmarkModel(true); 143 BookmarkModelFactory::GetForProfile(&profile2);
|
/external/chromium_org/chrome/browser/chromeos/drive/ |
H A D | file_system_util_unittest.cc | 67 Profile* profile2 = testing_profile_manager().CreateTestingProfile("user2"); local 75 EXPECT_EQ(profile2,
|
/external/chromium_org/chrome/browser/captive_portal/ |
H A D | captive_portal_service_unittest.cc | 291 TestingProfile profile2; local 293 new CaptivePortalService(&profile2)); 294 CaptivePortalObserver observer2(&profile2, service2.get());
|
/external/chromium_org/chrome/browser/ui/startup/ |
H A D | startup_browser_creator_browsertest.cc | 668 Profile* profile2 = profile_manager->GetProfile( local 670 ASSERT_TRUE(profile2); 682 Browser::CreateParams(Browser::TYPE_TABBED, profile2, 705 SessionStartupPref::SetStartupPref(profile2, pref2); 708 profile2->GetPrefs()->CommitPendingWrite(); 735 Profile* profile2 = profile_manager->GetProfile( local 737 ASSERT_TRUE(profile2); 745 last_opened_profiles.push_back(profile2); 750 SessionRestore::IsRestoring(profile2)) 756 EXPECT_TRUE(profile2 [all...] |
/external/chromium_org/chrome/browser/autofill/ |
H A D | autofill_browsertest.cc | 311 AutofillProfile profile2; local 312 profile2.SetRawInfo(NAME_FIRST, 316 profile2.SetRawInfo(NAME_LAST, WideToUTF16(L"aguantó")); 317 profile2.SetRawInfo(ADDRESS_HOME_ZIP, WideToUTF16(L"HOME 94043")); 318 profiles.push_back(profile2);
|
/external/chromium_org/chrome/browser/safe_browsing/ |
H A D | safe_browsing_service_browsertest.cc | 880 scoped_ptr<Profile> profile2(Profile::CreateProfile( 882 ASSERT_TRUE(profile2.get() != NULL); 883 StartupTaskRunnerServiceFactory::GetForProfile(profile2.get())-> 885 PrefService* pref_service2 = profile2->GetPrefs(); 912 profile2.reset();
|
/external/chromium_org/chrome/browser/ui/ |
H A D | browser_command_controller_unittest.cc | 437 Profile* profile2 = profile1->GetOffTheRecordProfile(); local 439 EXPECT_EQ(profile2->GetOriginalProfile(), profile1.get());
|
/external/chromium_org/chrome/browser/task_manager/ |
H A D | task_manager.cc | 800 const base::string16& profile2 = GetResourceProfileName(row2); 801 return profile1.compare(0, profile1.length(), profile2, 0, 802 profile2.length());
|