From bb8da7ec7e8ae82ec7a65c41e7ef6fc86afdf1fa Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Sun, 8 Mar 2015 19:56:45 -0700 Subject: [PATCH] Fix browser_context.cc --- brightray/browser/browser_context.cc | 5 +++++ brightray/browser/browser_context.h | 2 ++ 2 files changed, 7 insertions(+) diff --git a/brightray/browser/browser_context.cc b/brightray/browser/browser_context.cc index cb374ff4c9..6d2a378be8 100644 --- a/brightray/browser/browser_context.cc +++ b/brightray/browser/browser_context.cc @@ -99,6 +99,11 @@ base::FilePath BrowserContext::GetPath() const { return path_; } +scoped_ptr BrowserContext::CreateZoomLevelDelegate( + const base::FilePath& partition_path) { + return scoped_ptr(); +} + bool BrowserContext::IsOffTheRecord() const { return false; } diff --git a/brightray/browser/browser_context.h b/brightray/browser/browser_context.h index 90cefbcf79..ec1dd095b2 100644 --- a/brightray/browser/browser_context.h +++ b/brightray/browser/browser_context.h @@ -46,6 +46,8 @@ class BrowserContext : public content::BrowserContext, void RegisterInternalPrefs(PrefRegistrySimple* pref_registry); + scoped_ptr CreateZoomLevelDelegate( + const base::FilePath& partition_path) override; bool IsOffTheRecord() const override; net::URLRequestContextGetter* GetRequestContext() override; net::URLRequestContextGetter* GetRequestContextForRenderProcess(