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

Side by Side 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, 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_
6 #define CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ 6 #define CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 net::X509Certificate* cert, 88 net::X509Certificate* cert,
89 int render_process_id, 89 int render_process_id,
90 int render_view_id) OVERRIDE; 90 int render_view_id) OVERRIDE;
91 virtual void RequestDesktopNotificationPermission( 91 virtual void RequestDesktopNotificationPermission(
92 const GURL& source_origin, 92 const GURL& source_origin,
93 int callback_context, 93 int callback_context,
94 int render_process_id, 94 int render_process_id,
95 int render_view_id) OVERRIDE; 95 int render_view_id) OVERRIDE;
96 virtual WebKit::WebNotificationPresenter::Permission 96 virtual WebKit::WebNotificationPresenter::Permission
97 CheckDesktopNotificationPermission( 97 CheckDesktopNotificationPermission(
98 const GURL& source_url, 98 const GURL& source_origin,
99 const content::ResourceContext& context) OVERRIDE; 99 const content::ResourceContext& context,
100 int render_process_id) OVERRIDE;
100 virtual void ShowDesktopNotification( 101 virtual void ShowDesktopNotification(
101 const DesktopNotificationHostMsg_Show_Params& params, 102 const DesktopNotificationHostMsg_Show_Params& params,
102 int render_process_id, 103 int render_process_id,
103 int render_view_id, 104 int render_view_id,
104 bool worker) OVERRIDE; 105 bool worker) OVERRIDE;
105 virtual void CancelDesktopNotification( 106 virtual void CancelDesktopNotification(
106 int render_process_id, 107 int render_process_id,
107 int render_view_id, 108 int render_view_id,
108 int notification_id) OVERRIDE; 109 int notification_id) OVERRIDE;
109 virtual bool CanCreateWindow( 110 virtual bool CanCreateWindow(
110 const GURL& source_url, 111 const GURL& source_origin,
111 WindowContainerType container_type, 112 WindowContainerType container_type,
112 const content::ResourceContext& context) OVERRIDE; 113 const content::ResourceContext& context,
114 int render_process_id) OVERRIDE;
113 virtual std::string GetWorkerProcessTitle( 115 virtual std::string GetWorkerProcessTitle(
114 const GURL& url, const content::ResourceContext& context) OVERRIDE; 116 const GURL& url, const content::ResourceContext& context) OVERRIDE;
115 virtual ResourceDispatcherHost* GetResourceDispatcherHost() OVERRIDE; 117 virtual ResourceDispatcherHost* GetResourceDispatcherHost() OVERRIDE;
116 virtual ui::Clipboard* GetClipboard() OVERRIDE; 118 virtual ui::Clipboard* GetClipboard() OVERRIDE;
117 virtual MHTMLGenerationManager* GetMHTMLGenerationManager() OVERRIDE; 119 virtual MHTMLGenerationManager* GetMHTMLGenerationManager() OVERRIDE;
118 virtual DevToolsManager* GetDevToolsManager() OVERRIDE; 120 virtual DevToolsManager* GetDevToolsManager() OVERRIDE;
119 virtual net::NetLog* GetNetLog() OVERRIDE; 121 virtual net::NetLog* GetNetLog() OVERRIDE;
120 virtual speech_input::SpeechInputManager* GetSpeechInputManager() OVERRIDE; 122 virtual speech_input::SpeechInputManager* GetSpeechInputManager() OVERRIDE;
121 virtual AccessTokenStore* CreateAccessTokenStore() OVERRIDE; 123 virtual AccessTokenStore* CreateAccessTokenStore() OVERRIDE;
122 virtual bool IsFastShutdownPossible() OVERRIDE; 124 virtual bool IsFastShutdownPossible() OVERRIDE;
(...skipping 25 matching lines...) Expand all
148 private: 150 private:
149 // Temporary directory for GetDefaultDownloadDirectory. 151 // Temporary directory for GetDefaultDownloadDirectory.
150 ScopedTempDir download_dir_; 152 ScopedTempDir download_dir_;
151 153
152 DISALLOW_COPY_AND_ASSIGN(MockContentBrowserClient); 154 DISALLOW_COPY_AND_ASSIGN(MockContentBrowserClient);
153 }; 155 };
154 156
155 } // namespace content 157 } // namespace content
156 158
157 #endif // CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ 159 #endif // CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« 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