Home
last modified time | relevance | path

Searched refs:ProfileResetter (Results 1 – 12 of 12) sorted by relevance

/external/chromium_org/chrome/browser/profile_resetter/
Dprofile_resetter.cc26 ProfileResetter::ProfileResetter(Profile* profile) in ProfileResetter() function in ProfileResetter
35 ProfileResetter::~ProfileResetter() { in ~ProfileResetter()
40 void ProfileResetter::Reset( in Reset()
41 ProfileResetter::ResettableFlags resettable_flags, in Reset()
67 void (ProfileResetter::*method)(); in Reset()
69 { DEFAULT_SEARCH_ENGINE, &ProfileResetter::ResetDefaultSearchEngine }, in Reset()
70 { HOMEPAGE, &ProfileResetter::ResetHomepage }, in Reset()
71 { CONTENT_SETTINGS, &ProfileResetter::ResetContentSettings }, in Reset()
72 { COOKIES_AND_SITE_DATA, &ProfileResetter::ResetCookiesAndSiteData }, in Reset()
73 { EXTENSIONS, &ProfileResetter::ResetExtensions }, in Reset()
[all …]
Dprofile_resetter_unittest.cc104 resetter_.reset(new ProfileResetter(profile())); in SetUp()
126 resetter_.reset(new ProfileResetter(profile())); in SetUp()
294 ResetAndWait(ProfileResetter::DEFAULT_SEARCH_ENGINE, kDistributionConfig); in TEST_F()
315 ResetAndWait(ProfileResetter::DEFAULT_SEARCH_ENGINE); in TEST_F()
322 ResetAndWait(ProfileResetter::DEFAULT_SEARCH_ENGINE); in TEST_F()
335 ResetAndWait(ProfileResetter::HOMEPAGE, kDistributionConfig); in TEST_F()
349 ResetAndWait(ProfileResetter::HOMEPAGE); in TEST_F()
413 ResetAndWait(ProfileResetter::CONTENT_SETTINGS); in TEST_F()
495 ResetAndWait(ProfileResetter::EXTENSIONS); in TEST_F()
525 ResetAndWait(ProfileResetter::EXTENSIONS, master_prefs); in TEST_F()
[all …]
Dprofile_resetter.h20 class ProfileResetter : public base::NonThreadSafe,
44 explicit ProfileResetter(Profile* profile);
45 virtual ~ProfileResetter();
92 DISALLOW_COPY_AND_ASSIGN(ProfileResetter);
Dprofile_resetter_test_base.h43 void ResetAndWait(ProfileResetter::ResettableFlags resettable_flags);
44 void ResetAndWait(ProfileResetter::ResettableFlags resettable_flags,
48 scoped_ptr<ProfileResetter> resetter_;
Dprofile_resetter_test_base.cc31 ProfileResetter::ResettableFlags resettable_flags) { in ResetAndWait()
42 ProfileResetter::ResettableFlags resettable_flags, in ResetAndWait()
Dautomatic_profile_resetter_delegate.h120 ProfileResetter::ResettableFlags resettable_aspects);
191 const ProfileResetter::ResettableFlags resettable_aspects_;
192 scoped_ptr<ProfileResetter> profile_resetter_;
Dautomatic_profile_resetter_delegate_unittest.cc54 const ProfileResetter::ResettableFlags kResettableAspectsForTest =
55 ProfileResetter::ALL & ~ProfileResetter::COOKIES_AND_SITE_DATA;
295 ProfileResetter::ALL)); in TEST_F()
354 ProfileResetter::ALL)); in TEST_F()
Dprofile_resetter_browsertest.cc159 resetter_.reset(new ProfileResetter(browser()->profile())); in SetUpOnMainThread()
169 ResetAndWait(ProfileResetter::COOKIES_AND_SITE_DATA); in IN_PROC_BROWSER_TEST_F()
Dautomatic_profile_resetter_delegate.cc111 ProfileResetter::ResettableFlags resettable_aspects) in AutomaticProfileResetterDelegateImpl()
281 profile_resetter_.reset(new ProfileResetter(profile_)); in TriggerProfileSettingsReset()
Dautomatic_profile_resetter.cc409 profile_, ProfileResetter::ALL)); in Initialize()
/external/chromium_org/chrome/browser/ui/webui/options/
Dreset_profile_settings_handler.h19 class ProfileResetter; variable
71 scoped_ptr<ProfileResetter> resetter_;
Dreset_profile_settings_handler.cc39 resetter_.reset(new ProfileResetter(profile)); in InitializeHandler()
190 ProfileResetter::ALL, in ResetProfile()