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

Unified Diff: content/public/test/test_browser_context.h

Issue 393133002: Migrate HostZoomMap to live in StoragePartition. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add proper method mock for BrowserContext::CreateZoomLevelDelegate() override. Created 6 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: content/public/test/test_browser_context.h
diff --git a/content/public/test/test_browser_context.h b/content/public/test/test_browser_context.h
index a736cb9d99263312bafbb3ad0fc97d6c61d081c0..13101871a7ba6f77aeada1d3664a0f91146c4537 100644
--- a/content/public/test/test_browser_context.h
+++ b/content/public/test/test_browser_context.h
@@ -15,6 +15,7 @@
namespace content {
class MockResourceContext;
+class ZoomLevelDelegate;
class TestBrowserContext : public BrowserContext {
public:
@@ -28,6 +29,8 @@ class TestBrowserContext : public BrowserContext {
void SetSpecialStoragePolicy(storage::SpecialStoragePolicy* policy);
base::FilePath GetPath() const override;
+ scoped_ptr<ZoomLevelDelegate> CreateZoomLevelDelegate(
+ const base::FilePath& partition_path) override;
bool IsOffTheRecord() const override;
DownloadManagerDelegate* GetDownloadManagerDelegate() override;
net::URLRequestContextGetter* GetRequestContext() override;

Powered by Google App Engine
This is Rietveld 408576698