Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(318)

Side by Side Diff: chrome/browser/ui/app_list/test/fake_profile.h

Issue 2898443002: Implement GetBrowsingDataRemoverDelegate() for BrowserContext subclasses (Closed)
Patch Set: More fixes. Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_APP_LIST_TEST_FAKE_PROFILE_H_ 5 #ifndef CHROME_BROWSER_UI_APP_LIST_TEST_FAKE_PROFILE_H_
6 #define CHROME_BROWSER_UI_APP_LIST_TEST_FAKE_PROFILE_H_ 6 #define CHROME_BROWSER_UI_APP_LIST_TEST_FAKE_PROFILE_H_
7 7
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/sequenced_task_runner.h" 10 #include "base/sequenced_task_runner.h"
(...skipping 28 matching lines...) Expand all
39 const base::FilePath& partition_path) override; 39 const base::FilePath& partition_path) override;
40 bool IsOffTheRecord() const override; 40 bool IsOffTheRecord() const override;
41 content::DownloadManagerDelegate* GetDownloadManagerDelegate() override; 41 content::DownloadManagerDelegate* GetDownloadManagerDelegate() override;
42 content::ResourceContext* GetResourceContext() override; 42 content::ResourceContext* GetResourceContext() override;
43 content::BrowserPluginGuestManager* GetGuestManager() override; 43 content::BrowserPluginGuestManager* GetGuestManager() override;
44 storage::SpecialStoragePolicy* GetSpecialStoragePolicy() override; 44 storage::SpecialStoragePolicy* GetSpecialStoragePolicy() override;
45 content::PushMessagingService* GetPushMessagingService() override; 45 content::PushMessagingService* GetPushMessagingService() override;
46 content::SSLHostStateDelegate* GetSSLHostStateDelegate() override; 46 content::SSLHostStateDelegate* GetSSLHostStateDelegate() override;
47 content::PermissionManager* GetPermissionManager() override; 47 content::PermissionManager* GetPermissionManager() override;
48 content::BackgroundSyncController* GetBackgroundSyncController() override; 48 content::BackgroundSyncController* GetBackgroundSyncController() override;
49 content::BrowsingDataRemoverDelegate* GetBrowsingDataRemoverDelegate()
50 override;
49 net::URLRequestContextGetter* CreateRequestContext( 51 net::URLRequestContextGetter* CreateRequestContext(
50 content::ProtocolHandlerMap* protocol_handlers, 52 content::ProtocolHandlerMap* protocol_handlers,
51 content::URLRequestInterceptorScopedVector request_interceptors) override; 53 content::URLRequestInterceptorScopedVector request_interceptors) override;
52 net::URLRequestContextGetter* CreateRequestContextForStoragePartition( 54 net::URLRequestContextGetter* CreateRequestContextForStoragePartition(
53 const base::FilePath& partition_path, 55 const base::FilePath& partition_path,
54 bool in_memory, 56 bool in_memory,
55 content::ProtocolHandlerMap* protocol_handlers, 57 content::ProtocolHandlerMap* protocol_handlers,
56 content::URLRequestInterceptorScopedVector request_interceptors) override; 58 content::URLRequestInterceptorScopedVector request_interceptors) override;
57 net::URLRequestContextGetter* CreateMediaRequestContext() override; 59 net::URLRequestContextGetter* CreateMediaRequestContext() override;
58 net::URLRequestContextGetter* CreateMediaRequestContextForStoragePartition( 60 net::URLRequestContextGetter* CreateMediaRequestContextForStoragePartition(
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 bool WasCreatedByVersionOrLater(const std::string& version) override; 94 bool WasCreatedByVersionOrLater(const std::string& version) override;
93 void SetExitType(ExitType exit_type) override; 95 void SetExitType(ExitType exit_type) override;
94 ExitType GetLastSessionExitType() override; 96 ExitType GetLastSessionExitType() override;
95 97
96 private: 98 private:
97 std::string name_; 99 std::string name_;
98 base::FilePath path_; 100 base::FilePath path_;
99 }; 101 };
100 102
101 #endif // CHROME_BROWSER_UI_APP_LIST_TEST_FAKE_PROFILE_H_ 103 #endif // CHROME_BROWSER_UI_APP_LIST_TEST_FAKE_PROFILE_H_
OLDNEW
« no previous file with comments | « chrome/browser/profiles/off_the_record_profile_impl.cc ('k') | chrome/browser/ui/app_list/test/fake_profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698