OLD | NEW |
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 EXTENSIONS_BROWSER_API_WEB_REQUEST_WEB_REQUEST_API_H_ | 5 #ifndef EXTENSIONS_BROWSER_API_WEB_REQUEST_WEB_REQUEST_API_H_ |
6 #define EXTENSIONS_BROWSER_API_WEB_REQUEST_WEB_REQUEST_API_H_ | 6 #define EXTENSIONS_BROWSER_API_WEB_REQUEST_WEB_REQUEST_API_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <list> | 10 #include <list> |
(...skipping 21 matching lines...) Expand all Loading... |
32 #include "ipc/ipc_sender.h" | 32 #include "ipc/ipc_sender.h" |
33 #include "net/base/completion_callback.h" | 33 #include "net/base/completion_callback.h" |
34 #include "net/base/network_delegate.h" | 34 #include "net/base/network_delegate.h" |
35 #include "net/http/http_request_headers.h" | 35 #include "net/http/http_request_headers.h" |
36 | 36 |
37 class ExtensionWebRequestTimeTracker; | 37 class ExtensionWebRequestTimeTracker; |
38 class GURL; | 38 class GURL; |
39 | 39 |
40 namespace base { | 40 namespace base { |
41 class DictionaryValue; | 41 class DictionaryValue; |
42 class ListValue; | |
43 class StringValue; | |
44 } | 42 } |
45 | 43 |
46 namespace content { | 44 namespace content { |
47 class BrowserContext; | 45 class BrowserContext; |
48 } | 46 } |
49 | 47 |
50 namespace net { | 48 namespace net { |
51 class AuthChallengeInfo; | 49 class AuthChallengeInfo; |
52 class AuthCredentials; | 50 class AuthCredentials; |
53 class HttpRequestHeaders; | 51 class HttpRequestHeaders; |
(...skipping 573 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
627 extensions::QuotaLimitHeuristics* heuristics) const override; | 625 extensions::QuotaLimitHeuristics* heuristics) const override; |
628 // Handle quota exceeded gracefully: Only warn the user but still execute the | 626 // Handle quota exceeded gracefully: Only warn the user but still execute the |
629 // function. | 627 // function. |
630 void OnQuotaExceeded(const std::string& error) override; | 628 void OnQuotaExceeded(const std::string& error) override; |
631 ResponseAction Run() override; | 629 ResponseAction Run() override; |
632 }; | 630 }; |
633 | 631 |
634 } // namespace extensions | 632 } // namespace extensions |
635 | 633 |
636 #endif // EXTENSIONS_BROWSER_API_WEB_REQUEST_WEB_REQUEST_API_H_ | 634 #endif // EXTENSIONS_BROWSER_API_WEB_REQUEST_WEB_REQUEST_API_H_ |
OLD | NEW |