diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-02 19:37:00 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-02 19:37:00 +0000 |
commit | 9f9749a4eafd3f250b31551cdd453465dbf35534 (patch) | |
tree | 2c3944a9c09cc373b80565fc9240411961a68b59 /content/browser/mock_content_browser_client.h | |
parent | 53e4d8f60c6a7c9710bc17aff140d8d8e0d3a1d8 (diff) | |
download | chromium_src-9f9749a4eafd3f250b31551cdd453465dbf35534.zip chromium_src-9f9749a4eafd3f250b31551cdd453465dbf35534.tar.gz chromium_src-9f9749a4eafd3f250b31551cdd453465dbf35534.tar.bz2 |
Move QuotaPermissionContext to content/public/browser and put it in the content namespace.
BUG=98716
R=jam@chromium.org
Review URL: https://chromiumcodereview.appspot.com/9566035
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124710 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/mock_content_browser_client.h')
-rw-r--r-- | content/browser/mock_content_browser_client.h | 34 |
1 files changed, 16 insertions, 18 deletions
diff --git a/content/browser/mock_content_browser_client.h b/content/browser/mock_content_browser_client.h index 93b9fdd..c529d5b 100644 --- a/content/browser/mock_content_browser_client.h +++ b/content/browser/mock_content_browser_client.h @@ -22,7 +22,7 @@ class MockContentBrowserClient : public ContentBrowserClient { virtual ~MockContentBrowserClient(); virtual BrowserMainParts* CreateBrowserMainParts( - const content::MainFunctionParams& parameters) OVERRIDE; + const MainFunctionParams& parameters) OVERRIDE; virtual WebContentsView* CreateWebContentsView( WebContents* web_contents) OVERRIDE; virtual void RenderViewHostCreated( @@ -30,7 +30,7 @@ class MockContentBrowserClient : public ContentBrowserClient { virtual void RenderProcessHostCreated( RenderProcessHost* host) OVERRIDE; virtual WebUIControllerFactory* GetWebUIControllerFactory() OVERRIDE; - virtual GURL GetEffectiveURL(content::BrowserContext* browser_context, + virtual GURL GetEffectiveURL(BrowserContext* browser_context, const GURL& url) OVERRIDE; virtual bool ShouldUseProcessPerSite(BrowserContext* browser_context, const GURL& effective_url) OVERRIDE; @@ -48,37 +48,35 @@ class MockContentBrowserClient : public ContentBrowserClient { virtual void AppendExtraCommandLineSwitches(CommandLine* command_line, int child_process_id) OVERRIDE; virtual std::string GetApplicationLocale() OVERRIDE; - virtual std::string GetAcceptLangs( - content::BrowserContext* context) OVERRIDE; + virtual std::string GetAcceptLangs(BrowserContext* context) OVERRIDE; virtual SkBitmap* GetDefaultFavicon() OVERRIDE; virtual bool AllowAppCache(const GURL& manifest_url, const GURL& first_party, - content::ResourceContext* context) OVERRIDE; + ResourceContext* context) OVERRIDE; virtual bool AllowGetCookie(const GURL& url, const GURL& first_party, const net::CookieList& cookie_list, - content::ResourceContext* context, + ResourceContext* context, int render_process_id, int render_view_id) OVERRIDE; virtual bool AllowSetCookie(const GURL& url, const GURL& first_party, const std::string& cookie_line, - content::ResourceContext* context, + ResourceContext* context, int render_process_id, int render_view_id, net::CookieOptions* options) OVERRIDE; - virtual bool AllowSaveLocalState( - content::ResourceContext* context) OVERRIDE; + virtual bool AllowSaveLocalState(ResourceContext* context) OVERRIDE; virtual bool AllowWorkerDatabase( const GURL& url, const string16& name, const string16& display_name, unsigned long estimated_size, - content::ResourceContext* context, + ResourceContext* context, const std::vector<std::pair<int, int> >& render_views) OVERRIDE; virtual bool AllowWorkerFileSystem( const GURL& url, - content::ResourceContext* context, + ResourceContext* context, const std::vector<std::pair<int, int> >& render_views) OVERRIDE; virtual bool AllowWorkerIndexedDB( const GURL& url, @@ -86,7 +84,7 @@ class MockContentBrowserClient : public ContentBrowserClient { content::ResourceContext* context, const std::vector<std::pair<int, int> >& render_views) OVERRIDE; virtual net::URLRequestContext* OverrideRequestContextForURL( - const GURL& url, content::ResourceContext* context) OVERRIDE; + const GURL& url, ResourceContext* context) OVERRIDE; virtual QuotaPermissionContext* CreateQuotaPermissionContext() OVERRIDE; virtual void OpenItem(const FilePath& path) OVERRIDE; virtual void ShowItemInFolder(const FilePath& path) OVERRIDE; @@ -111,8 +109,8 @@ class MockContentBrowserClient : public ContentBrowserClient { int render_process_id, int render_view_id) OVERRIDE; virtual void RequestMediaAccessPermission( - const content::MediaStreamRequest* request, - const content::MediaResponseCallback& callback) OVERRIDE; + const MediaStreamRequest* request, + const MediaResponseCallback& callback) OVERRIDE; virtual void RequestDesktopNotificationPermission( const GURL& source_origin, int callback_context, @@ -121,7 +119,7 @@ class MockContentBrowserClient : public ContentBrowserClient { virtual WebKit::WebNotificationPresenter::Permission CheckDesktopNotificationPermission( const GURL& source_origin, - content::ResourceContext* context, + ResourceContext* context, int render_process_id) OVERRIDE; virtual void ShowDesktopNotification( const content::ShowDesktopNotificationHostMsgParams& params, @@ -135,10 +133,10 @@ class MockContentBrowserClient : public ContentBrowserClient { virtual bool CanCreateWindow( const GURL& source_origin, WindowContainerType container_type, - content::ResourceContext* context, + ResourceContext* context, int render_process_id) OVERRIDE; - virtual std::string GetWorkerProcessTitle( - const GURL& url, content::ResourceContext* context) OVERRIDE; + virtual std::string GetWorkerProcessTitle(const GURL& url, + ResourceContext* context) OVERRIDE; virtual void ResourceDispatcherHostCreated() OVERRIDE; virtual SpeechInputManagerDelegate* GetSpeechInputManagerDelegate() OVERRIDE; virtual ui::Clipboard* GetClipboard() OVERRIDE; |