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

Side by Side Diff: chrome/browser/extensions/api/web_request/web_request_api.h

Issue 20003004: reland crrev.com/212927 Move webkitplatformsupport_impl and related from glue to child (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase & allocator dep for components_unittests in shared_library2 Created 7 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_API_WEB_REQUEST_WEB_REQUEST_API_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_WEB_REQUEST_WEB_REQUEST_API_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_WEB_REQUEST_WEB_REQUEST_API_H_ 6 #define CHROME_BROWSER_EXTENSIONS_API_WEB_REQUEST_WEB_REQUEST_API_H_
7 7
8 #include <list> 8 #include <list>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
11 #include <string> 11 #include <string>
12 #include <vector> 12 #include <vector>
13 13
14 #include "base/memory/singleton.h" 14 #include "base/memory/singleton.h"
15 #include "base/memory/weak_ptr.h" 15 #include "base/memory/weak_ptr.h"
16 #include "base/time/time.h" 16 #include "base/time/time.h"
17 #include "chrome/browser/extensions/api/declarative_webrequest/request_stage.h" 17 #include "chrome/browser/extensions/api/declarative_webrequest/request_stage.h"
18 #include "chrome/browser/extensions/api/web_request/web_request_api_helpers.h" 18 #include "chrome/browser/extensions/api/web_request/web_request_api_helpers.h"
19 #include "chrome/browser/extensions/api/web_request/web_request_permissions.h" 19 #include "chrome/browser/extensions/api/web_request/web_request_permissions.h"
20 #include "chrome/browser/extensions/extension_function.h" 20 #include "chrome/browser/extensions/extension_function.h"
21 #include "chrome/browser/profiles/profile.h" 21 #include "chrome/browser/profiles/profile.h"
22 #include "chrome/common/chrome_version_info.h" 22 #include "chrome/common/chrome_version_info.h"
23 #include "extensions/common/url_pattern_set.h" 23 #include "extensions/common/url_pattern_set.h"
24 #include "ipc/ipc_sender.h" 24 #include "ipc/ipc_sender.h"
25 #include "net/base/completion_callback.h" 25 #include "net/base/completion_callback.h"
26 #include "net/base/network_delegate.h" 26 #include "net/base/network_delegate.h"
27 #include "net/http/http_request_headers.h" 27 #include "net/http/http_request_headers.h"
28 #include "webkit/glue/resource_type.h" 28 #include "webkit/common/resource_type.h"
29 29
30 class ExtensionInfoMap; 30 class ExtensionInfoMap;
31 class ExtensionWebRequestTimeTracker; 31 class ExtensionWebRequestTimeTracker;
32 class GURL; 32 class GURL;
33 33
34 namespace base { 34 namespace base {
35 class DictionaryValue; 35 class DictionaryValue;
36 class ListValue; 36 class ListValue;
37 class StringValue; 37 class StringValue;
38 } 38 }
(...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after
471 virtual void OnQuotaExceeded(const std::string& error) OVERRIDE; 471 virtual void OnQuotaExceeded(const std::string& error) OVERRIDE;
472 virtual bool RunImpl() OVERRIDE; 472 virtual bool RunImpl() OVERRIDE;
473 }; 473 };
474 474
475 // Send updates to |host| with information about what webRequest-related 475 // Send updates to |host| with information about what webRequest-related
476 // extensions are installed. 476 // extensions are installed.
477 // TODO(mpcomplete): remove. http://crbug.com/100411 477 // TODO(mpcomplete): remove. http://crbug.com/100411
478 void SendExtensionWebRequestStatusToHost(content::RenderProcessHost* host); 478 void SendExtensionWebRequestStatusToHost(content::RenderProcessHost* host);
479 479
480 #endif // CHROME_BROWSER_EXTENSIONS_API_WEB_REQUEST_WEB_REQUEST_API_H_ 480 #endif // CHROME_BROWSER_EXTENSIONS_API_WEB_REQUEST_WEB_REQUEST_API_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698