HomeSort by relevance Sort by last modified time
    Searched refs:profile1 (Results 1 - 25 of 30) sorted by null

1 2

  /external/chromium_org/chrome/browser/extensions/activity_log/
activity_log_enabled_unittest.cc 65 scoped_ptr<TestingProfile> profile1(
74 ActivityLog* activity_log1 = ActivityLog::GetInstance(profile1.get());
79 profile1->GetPrefs()->GetInteger(prefs::kWatchdogExtensionActive));
89 scoped_ptr<TestingProfile> profile1(
97 profile1->GetPrefs()->GetInteger(prefs::kWatchdogExtensionActive));
103 profile1->GetPrefs()->SetInteger(prefs::kWatchdogExtensionActive, 1);
105 ActivityLog* activity_log1 = ActivityLog::GetInstance(profile1.get());
110 profile1->GetPrefs()->GetInteger(prefs::kWatchdogExtensionActive));
125 scoped_ptr<TestingProfile> profile1(
132 ExtensionSystem::Get(profile1.get()))->CreateExtensionService
    [all...]
  /external/chromium/chrome/browser/extensions/
extension_process_manager_unittest.cc 34 TestingProfile profile1; local
36 ExtensionProcessManager::Create(&profile1));
extension_cookies_unittest.cc 48 static void LinkProfiles(OtrTestingProfile* profile1,
50 profile1->set_linked_profile(profile2);
51 profile2->set_linked_profile(profile1);
  /external/chromium/chrome/browser/autofill/
autofill_ie_toolbar_import_win_unittest.cc 40 ValueDescription profile1[] = { member in namespace:__anon4287
148 CreateSubkey(&profile_key, L"0", profile1, arraysize(profile1));
166 EXPECT_EQ(profiles[1].GetInfo(NAME_FIRST), profile1[0].value);
167 EXPECT_EQ(profiles[1].GetInfo(NAME_MIDDLE), profile1[1].value);
168 EXPECT_EQ(profiles[1].GetInfo(NAME_LAST), profile1[2].value);
169 EXPECT_EQ(profiles[1].GetInfo(EMAIL_ADDRESS), profile1[3].value);
170 EXPECT_EQ(profiles[1].GetInfo(COMPANY_NAME), profile1[4].value);
171 EXPECT_EQ(profiles[1].GetInfo(PHONE_HOME_COUNTRY_CODE), profile1[7].value);
172 EXPECT_EQ(profiles[1].GetInfo(PHONE_HOME_CITY_CODE), profile1[6].value)
    [all...]
personal_data_manager_unittest.cc 98 AutofillProfile profile1; local
99 autofill_test::SetProfileInfo(&profile1,
121 update.push_back(profile1);
127 EXPECT_EQ(0, profile1.Compare(*results1.at(1)));
131 // - Remove profile1
239 AutofillProfile profile1; local
240 autofill_test::SetProfileInfo(&profile1,
265 update.push_back(profile1);
271 EXPECT_EQ(0, profile1.Compare(*results1.at(1)));
291 guids.insert(profile1.guid())
329 AutofillProfile profile1; local
432 AutofillProfile profile1; local
    [all...]
autofill_profile_unittest.cc 48 AutofillProfile profile1; local
49 autofill_test::SetProfileInfo(&profile1, "", "Mitchell", "",
52 EXPECT_TRUE(UpdateProfileLabel(&profile1));
53 string16 summary1 = profile1.Label();
  /external/chromium_org/components/autofill/core/browser/
autofill_ie_toolbar_import_win_unittest.cc 43 ValueDescription profile1[] = { member in namespace:autofill::__anon10085
149 CreateSubkey(&profile_key, L"0", profile1, arraysize(profile1));
167 EXPECT_EQ(profile1[0].value, profiles[1].GetRawInfo(NAME_FIRST));
168 EXPECT_EQ(profile1[1].value, profiles[1].GetRawInfo(NAME_MIDDLE));
169 EXPECT_EQ(profile1[2].value, profiles[1].GetRawInfo(NAME_LAST));
170 EXPECT_EQ(profile1[3].value, profiles[1].GetRawInfo(EMAIL_ADDRESS));
171 EXPECT_EQ(profile1[4].value, profiles[1].GetRawInfo(COMPANY_NAME));
172 EXPECT_EQ(profile1[7].value,
174 EXPECT_EQ(profile1[6].value
    [all...]
personal_data_manager_unittest.cc 173 AutofillProfile profile1 = profile0; local
174 profile1.set_guid(base::GenerateGUID());
175 profile1.SetRawInfo(EMAIL_ADDRESS, ASCIIToUTF16("john@smith.com"));
180 personal_data_->AddProfile(profile1);
189 EXPECT_EQ(0, profile1.Compare(*results3[1]));
199 AutofillProfile profile1(base::GenerateGUID(), "https://www.example.com");
200 test::SetProfileInfo(&profile1,
213 personal_data_->AddProfile(profile1);
223 EXPECT_EQ(0, profile1.Compare(*results1[1]));
228 personal_data_->RemoveByGUID(profile1.guid())
    [all...]
  /external/chromium_org/chrome/browser/background/
background_mode_manager_unittest.cc 257 TestingProfile* profile1 = profile_manager->CreateTestingProfile("p1"); local
261 manager.RegisterProfile(profile1);
268 manager.OnApplicationListChanged(profile1);
293 manager.OnApplicationListChanged(profile1);
300 TestingProfile* profile1 = profile_manager->CreateTestingProfile("p1"); local
304 manager.RegisterProfile(profile1);
318 manager.OnApplicationListChanged(profile1);
330 manager.OnApplicationListChanged(profile1);
332 size_t p1_index = cache->GetIndexOfProfileWithPath(profile1->GetPath());
338 size_t p2_index = cache->GetIndexOfProfileWithPath(profile1->GetPath())
349 TestingProfile* profile1 = profile_manager->CreateTestingProfile("p1"); local
387 TestingProfile* profile1 = profile_manager->CreateTestingProfile("p1"); local
401 TestingProfile* profile1 = profile_manager->CreateTestingProfile("p1"); local
558 TestingProfile* profile1 = profile_manager->CreateTestingProfile("p1"); local
    [all...]
  /external/chromium_org/chrome/browser/webdata/
autofill_profile_syncable_service_unittest.cc 201 AutofillProfile profile1(guid_synced1, origin_synced1);
202 profile1.SetRawInfo(autofill::NAME_FIRST, UTF8ToUTF16("Jane"));
203 data_list.push_back(autofill_syncable_service_.CreateData(profile1));
220 expected_bundle.profiles_to_add.push_back(&profile1);
256 AutofillProfile profile1(guid_synced1, origin_synced1);
257 profile1.SetRawInfo(autofill::NAME_FIRST, UTF8ToUTF16("John"));
258 profile1.SetRawInfo(autofill::ADDRESS_HOME_LINE1, UTF8ToUTF16("1 1st st"));
259 data_list.push_back(autofill_syncable_service_.CreateData(profile1));
277 expected_bundle.profiles_to_add.push_back(&profile1);
312 AutofillProfile profile1(guid_synced1, origin_synced1)
    [all...]
  /external/chromium_org/chrome/browser/profiles/
profile_manager_unittest.cc 205 TestingProfile* profile1 = local
207 ASSERT_TRUE(profile1);
214 ASSERT_TRUE(profile1->CreateHistoryService(true, false));
215 EXPECT_TRUE(HistoryServiceFactory::GetForProfile(profile1,
217 profile1->CreateBookmarkModel(true);
218 EXPECT_TRUE(BookmarkModelFactory::GetForProfile(profile1));
452 TestingProfile* profile1 = local
454 ASSERT_TRUE(profile1);
464 // Create a browser for profile1.
465 Browser::CreateParams profile1_params(profile1, chrome::GetActiveDesktop())
518 TestingProfile* profile1 = local
568 TestingProfile* profile1 = local
    [all...]
  /external/chromium_org/chrome/browser/sync/test/integration/
sync_app_helper.cc 106 bool SyncAppHelper::AppStatesMatch(Profile* profile1, Profile* profile2) {
108 profile1, profile2))
111 const AppStateMap& state_map1 = GetAppStates(profile1);
114 DVLOG(2) << "Number of Apps for profile " << profile1->GetDebugName()
123 DVLOG(2) << "Apps for profile " << profile1->GetDebugName()
127 DVLOG(2) << "Apps for profile " << profile1->GetDebugName()
135 DVLOG(2) << "App states for profile " << profile1->GetDebugName()
sync_app_helper.h 26 // Returns true iff |profile1| and |profile2| have the same apps and
28 bool AppStatesMatch(Profile* profile1, Profile* profile2);
sync_extension_helper.cc 228 Profile* profile1, Profile* profile2) {
229 const ExtensionStateMap& state_map1 = GetExtensionStates(profile1);
232 DVLOG(1) << "Number of extensions for profile " << profile1->GetDebugName()
241 DVLOG(1) << "Extensions for profile " << profile1->GetDebugName()
245 DVLOG(1) << "Extension states for profile " << profile1->GetDebugName()
sync_extension_helper.h 74 // Returns true iff |profile1| and |profile2| have the same extensions and
76 static bool ExtensionStatesMatch(Profile* profile1, Profile* profile2);
two_client_autofill_sync_test.cc 222 AutofillProfile profile1 = CreateAutofillProfile(PROFILE_HOMER); local
223 profile1.SetRawInfo(autofill::PHONE_HOME_WHOLE_NUMBER,
227 AddProfile(1, profile1);
  /external/chromium/chrome/browser/profiles/
profile_manager_unittest.cc 138 Profile* profile1; local
142 profile1 = profile_manager_->GetProfile(dest_path1);
143 ASSERT_TRUE(profile1);
149 EXPECT_TRUE(profile1->GetHistoryService(Profile::EXPLICIT_ACCESS));
150 EXPECT_TRUE(profile1->GetBookmarkModel());
  /external/chromium_org/chrome/browser/extensions/
process_manager_unittest.cc 116 TestingProfile profile1; local
117 scoped_ptr<ProcessManager> manager1(ProcessManager::Create(&profile1));
  /external/chromium_org/chrome/browser/importer/
profile_writer_unittest.cc 137 // Add bookmarks via ProfileWriter to profile1 when profile2 also exists.
148 TestingProfile profile1; local
149 profile1.CreateBookmarkModel(true);
153 BookmarkModelFactory::GetForProfile(&profile1);
157 new TestProfileWriter(&profile1));
  /external/chromium_org/chrome/browser/autofill/
autofill_browsertest.cc 274 AutofillProfile profile1; local
275 profile1.SetRawInfo(NAME_FIRST,
285 profile1.SetRawInfo(NAME_MIDDLE, WideToUTF16(L"BANK\xcBERF\xc4LLE"));
286 profile1.SetRawInfo(EMAIL_ADDRESS,
289 profile1.SetRawInfo(ADDRESS_HOME_LINE1,
294 profile1.SetRawInfo(ADDRESS_HOME_CITY,
297 profile1.SetRawInfo(ADDRESS_HOME_ZIP, WideToUTF16(L"YOHO_54676"));
298 profile1.SetRawInfo(PHONE_HOME_WHOLE_NUMBER, WideToUTF16(L"861088828000"));
299 profile1.SetInfo(
301 profiles.push_back(profile1);
    [all...]
  /external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/autofill/
PersonalDataManagerTest.java 126 AutofillProfile profile1 = new AutofillProfile( local
130 String profileGuid1 = mHelper.setProfile(profile1);
  /external/chromium/chrome/browser/webdata/
web_data_service_unittest.cc 324 AutofillProfile profile1; local
325 profile1.SetInfo(NAME_FIRST, ASCIIToUTF16("Abe"));
332 wds_->AddAutofillProfile(profile1);
342 EXPECT_EQ(profile1, *consumer.result()[0]);
346 AutofillProfile profile1_changed(profile1);
349 AutofillProfileChange::UPDATE, profile1.guid(), &profile1_changed);
369 EXPECT_NE(profile1, *consumer2.result()[0]);
  /external/chromium_org/components/autofill/core/browser/webdata/
web_data_service_unittest.cc 361 AutofillProfile profile1; local
362 profile1.SetRawInfo(NAME_FIRST, ASCIIToUTF16("Abe"));
370 wds_->AddAutofillProfile(profile1);
380 EXPECT_EQ(profile1, *consumer.result()[0]);
384 AutofillProfile profile1_changed(profile1);
387 AutofillProfileChange::UPDATE, profile1.guid(), &profile1_changed);
402 EXPECT_NE(profile1, *consumer2.result()[0]);
  /external/chromium_org/chrome/browser/ui/
browser_command_controller_unittest.cc 409 scoped_ptr<TestingProfile> profile1 = builder2.Build(); local
410 profile2->SetOriginalProfile(profile1.get());
411 EXPECT_EQ(profile2->GetOriginalProfile(), profile1.get());
412 profile1->SetOffTheRecordProfile(profile2.PassAs<Profile>());
415 Browser::CreateParams profile_params(profile1->GetOffTheRecordProfile(),
427 profile1->GetPrefs()->SetBoolean(prefs::kSigninAllowed, false);
  /external/chromium_org/chrome/browser/ui/startup/
startup_browser_creator_browsertest.cc 662 Profile* profile1 = profile_manager->GetProfile( local
664 ASSERT_TRUE(profile1);
683 SessionStartupPref::SetStartupPref(profile1, pref1);
688 profile1->GetPrefs()->CommitPendingWrite();
709 Profile* profile1 = profile_manager->GetProfile( local
711 ASSERT_TRUE(profile1);
722 last_opened_profiles.push_back(profile1);
724 browser_creator.Start(dummy, profile_manager->user_data_dir(), profile1,
727 while (SessionRestore::IsRestoring(profile1) ||
733 EXPECT_TRUE(profile1->restored_last_session())
    [all...]

Completed in 2857 milliseconds

1 2