Lines Matching defs:TestingProfile

196 const char TestingProfile::kTestUserProfileDir[] = "test-user";
198 const char TestingProfile::kTestUserProfileDir[] = "Default";
201 TestingProfile::TestingProfile()
219 TestingProfile::TestingProfile(const base::FilePath& path)
235 TestingProfile::TestingProfile(const base::FilePath& path,
252 base::Bind(&TestingProfile::FinishInit, base::Unretained(this)));
258 TestingProfile::TestingProfile(
265 TestingProfile* parent,
310 base::Bind(&TestingProfile::FinishInit, base::Unretained(this)));
316 void TestingProfile::CreateTempProfileDir() {
343 void TestingProfile::Init() {
371 // be associated with a TestingProfile too.
413 void TestingProfile::FinishInit() {
428 TestingProfile::~TestingProfile() {
465 void TestingProfile::CreateFaviconService() {
477 bool TestingProfile::CreateHistoryService(bool delete_file, bool no_db) {
497 void TestingProfile::DestroyHistoryService() {
521 void TestingProfile::CreateTopSites() {
527 void TestingProfile::DestroyTopSites() {
567 void TestingProfile::CreateBookmarkModel(bool delete_file) {
585 void TestingProfile::CreateWebDataService() {
590 void TestingProfile::BlockUntilHistoryIndexIsRefreshed() {
609 void TestingProfile::BlockUntilTopSitesLoaded() {
618 void TestingProfile::SetGuestSession(bool guest) {
622 base::FilePath TestingProfile::GetPath() const {
626 scoped_refptr<base::SequencedTaskRunner> TestingProfile::GetIOTaskRunner() {
630 TestingPrefServiceSyncable* TestingProfile::GetTestingPrefService() {
636 TestingProfile* TestingProfile::AsTestingProfile() {
640 std::string TestingProfile::GetProfileName() {
644 Profile::ProfileType TestingProfile::GetProfileType() const {
652 bool TestingProfile::IsOffTheRecord() const {
656 void TestingProfile::SetOffTheRecordProfile(scoped_ptr<Profile> profile) {
662 Profile* TestingProfile::GetOffTheRecordProfile() {
666 TestingProfile::Builder().BuildIncognito(this);
670 bool TestingProfile::HasOffTheRecordProfile() {
674 Profile* TestingProfile::GetOriginalProfile() {
680 bool TestingProfile::IsSupervised() {
685 void TestingProfile::SetExtensionSpecialStoragePolicy(
692 TestingProfile::GetExtensionSpecialStoragePolicy() {
702 net::CookieMonster* TestingProfile::GetCookieMonster() {
709 void TestingProfile::CreateTestingPrefService() {
717 void TestingProfile::CreateIncognitoPrefService() {
726 void TestingProfile::CreateProfilePolicyConnector() {
751 PrefService* TestingProfile::GetPrefs() {
756 history::TopSites* TestingProfile::GetTopSites() {
760 history::TopSites* TestingProfile::GetTopSitesWithoutCreating() {
764 DownloadManagerDelegate* TestingProfile::GetDownloadManagerDelegate() {
768 net::URLRequestContextGetter* TestingProfile::GetRequestContext() {
772 net::URLRequestContextGetter* TestingProfile::CreateRequestContext(
779 net::URLRequestContextGetter* TestingProfile::GetRequestContextForRenderProcess(
786 net::URLRequestContextGetter* TestingProfile::GetMediaRequestContext() {
791 TestingProfile::GetMediaRequestContextForRenderProcess(
797 TestingProfile::GetMediaRequestContextForStoragePartition(
803 net::URLRequestContextGetter* TestingProfile::GetRequestContextForExtensions() {
809 net::SSLConfigService* TestingProfile::GetSSLConfigService() {
816 TestingProfile::CreateRequestContextForStoragePartition(
826 content::ResourceContext* TestingProfile::GetResourceContext() {
832 HostContentSettingsMap* TestingProfile::GetHostContentSettingsMap() {
847 content::BrowserPluginGuestManager* TestingProfile::GetGuestManager() {
855 content::PushMessagingService* TestingProfile::GetPushMessagingService() {
859 bool TestingProfile::IsSameProfile(Profile *p) {
863 base::Time TestingProfile::GetStartTime() const {
867 base::FilePath TestingProfile::last_selected_directory() {
871 void TestingProfile::set_last_selected_directory(const base::FilePath& path) {
875 PrefProxyConfigTracker* TestingProfile::GetProxyConfigTracker() {
877 // TestingProfile is used in unit tests, where local state is not available.
885 void TestingProfile::BlockUntilHistoryProcessesPendingRequests() {
899 chrome_browser_net::Predictor* TestingProfile::GetNetworkPredictor() {
903 DevToolsNetworkController* TestingProfile::GetDevToolsNetworkController() {
907 void TestingProfile::ClearNetworkingHistorySince(
915 GURL TestingProfile::GetHomePage() {
919 PrefService* TestingProfile::GetOffTheRecordPrefs() {
923 storage::SpecialStoragePolicy* TestingProfile::GetSpecialStoragePolicy() {
931 content::SSLHostStateDelegate* TestingProfile::GetSSLHostStateDelegate() {
935 bool TestingProfile::WasCreatedByVersionOrLater(const std::string& version) {
939 bool TestingProfile::IsGuestSession() const {
943 Profile::ExitType TestingProfile::GetLastSessionExitType() {
947 TestingProfile::Builder::Builder()
953 TestingProfile::Builder::~Builder() {
956 void TestingProfile::Builder::SetPath(const base::FilePath& path) {
960 void TestingProfile::Builder::SetDelegate(Delegate* delegate) {
965 void TestingProfile::Builder::SetExtensionSpecialStoragePolicy(
971 void TestingProfile::Builder::SetPrefService(
976 void TestingProfile::Builder::SetGuestSession() {
980 void TestingProfile::Builder::SetSupervisedUserId(
985 void TestingProfile::Builder::SetPolicyService(
990 void TestingProfile::Builder::AddTestingFactory(
996 scoped_ptr<TestingProfile> TestingProfile::Builder::Build() {
1000 return scoped_ptr<TestingProfile>(new TestingProfile(path_,
1013 TestingProfile* TestingProfile::Builder::BuildIncognito(
1014 TestingProfile* original_profile) {
1020 return new TestingProfile(path_,