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

Unified Diff: content/browser/mock_content_browser_client.h

Issue 8312005: Ignore paths when matching patterns for extensions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/renderer/chrome_render_view_observer.cc ('k') | content/browser/mock_content_browser_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/mock_content_browser_client.h
diff --git a/content/browser/mock_content_browser_client.h b/content/browser/mock_content_browser_client.h
index 1889cc71359881c21a87fddc1131cdd184902278..79e700c7c9c01c9c01c4b534b22d65e8d8f6aa81 100644
--- a/content/browser/mock_content_browser_client.h
+++ b/content/browser/mock_content_browser_client.h
@@ -95,8 +95,9 @@ class MockContentBrowserClient : public ContentBrowserClient {
int render_view_id) OVERRIDE;
virtual WebKit::WebNotificationPresenter::Permission
CheckDesktopNotificationPermission(
- const GURL& source_url,
- const content::ResourceContext& context) OVERRIDE;
+ const GURL& source_origin,
+ const content::ResourceContext& context,
+ int render_process_id) OVERRIDE;
virtual void ShowDesktopNotification(
const DesktopNotificationHostMsg_Show_Params& params,
int render_process_id,
@@ -107,9 +108,10 @@ class MockContentBrowserClient : public ContentBrowserClient {
int render_view_id,
int notification_id) OVERRIDE;
virtual bool CanCreateWindow(
- const GURL& source_url,
+ const GURL& source_origin,
WindowContainerType container_type,
- const content::ResourceContext& context) OVERRIDE;
+ const content::ResourceContext& context,
+ int render_process_id) OVERRIDE;
virtual std::string GetWorkerProcessTitle(
const GURL& url, const content::ResourceContext& context) OVERRIDE;
virtual ResourceDispatcherHost* GetResourceDispatcherHost() OVERRIDE;
« no previous file with comments | « chrome/renderer/chrome_render_view_observer.cc ('k') | content/browser/mock_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698