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

Side by Side Diff: chrome/browser/extensions/extension_webrequest_api.h

Issue 8515027: Define the public version of the browser side RenderProcessHost interface. This interface is not ... (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 CHROME_BROWSER_EXTENSIONS_EXTENSION_WEBREQUEST_API_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_WEBREQUEST_API_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_WEBREQUEST_API_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_WEBREQUEST_API_H_
7 #pragma once 7 #pragma once
8 8
9 #include <list> 9 #include <list>
10 #include <map> 10 #include <map>
11 #include <set> 11 #include <set>
12 #include <string> 12 #include <string>
13 #include <vector> 13 #include <vector>
14 14
15 #include "base/memory/singleton.h" 15 #include "base/memory/singleton.h"
16 #include "base/time.h" 16 #include "base/time.h"
17 #include "chrome/browser/extensions/extension_function.h" 17 #include "chrome/browser/extensions/extension_function.h"
18 #include "chrome/browser/profiles/profile.h" 18 #include "chrome/browser/profiles/profile.h"
19 #include "chrome/common/extensions/url_pattern_set.h" 19 #include "chrome/common/extensions/url_pattern_set.h"
20 #include "ipc/ipc_message.h" 20 #include "ipc/ipc_message.h"
21 #include "net/base/completion_callback.h" 21 #include "net/base/completion_callback.h"
22 #include "net/base/network_delegate.h" 22 #include "net/base/network_delegate.h"
23 #include "net/http/http_request_headers.h" 23 #include "net/http/http_request_headers.h"
24 #include "webkit/glue/resource_type.h" 24 #include "webkit/glue/resource_type.h"
25 25
26 class ExtensionInfoMap; 26 class ExtensionInfoMap;
27 class ExtensionWebRequestTimeTracker; 27 class ExtensionWebRequestTimeTracker;
28 class GURL; 28 class GURL;
29 class RenderProcessHost;
30 29
31 namespace base { 30 namespace base {
32 class DictionaryValue; 31 class DictionaryValue;
33 class ListValue; 32 class ListValue;
34 } 33 }
35 34
35 namespace content {
36 class RenderProcessHost;
37 }
38
36 namespace net { 39 namespace net {
37 class AuthCredentials; 40 class AuthCredentials;
38 class AuthChallengeInfo; 41 class AuthChallengeInfo;
39 class HttpRequestHeaders; 42 class HttpRequestHeaders;
40 class HttpResponseHeaders; 43 class HttpResponseHeaders;
41 class URLRequest; 44 class URLRequest;
42 } 45 }
43 46
44 // This class observes network events and routes them to the appropriate 47 // This class observes network events and routes them to the appropriate
45 // extensions listening to those events. All methods must be called on the IO 48 // extensions listening to those events. All methods must be called on the IO
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 virtual void GetQuotaLimitHeuristics( 362 virtual void GetQuotaLimitHeuristics(
360 std::list<QuotaLimitHeuristic*>* heuristics) const OVERRIDE; 363 std::list<QuotaLimitHeuristic*>* heuristics) const OVERRIDE;
361 // Handle quota exceeded gracefully: Only warn the user but still execute the 364 // Handle quota exceeded gracefully: Only warn the user but still execute the
362 // function. 365 // function.
363 virtual void OnQuotaExceeded() OVERRIDE; 366 virtual void OnQuotaExceeded() OVERRIDE;
364 }; 367 };
365 368
366 // Send updates to |host| with information about what webRequest-related 369 // Send updates to |host| with information about what webRequest-related
367 // extensions are installed. 370 // extensions are installed.
368 // TODO(mpcomplete): remove. http://crbug.com/100411 371 // TODO(mpcomplete): remove. http://crbug.com/100411
369 void SendExtensionWebRequestStatusToHost(RenderProcessHost* host); 372 void SendExtensionWebRequestStatusToHost(content::RenderProcessHost* host);
370 373
371 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_WEBREQUEST_API_H_ 374 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_WEBREQUEST_API_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_tab_id_map.cc ('k') | chrome/browser/extensions/extension_webrequest_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698