Chromium Code Reviews| 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 CHROME_RENDERER_EXTENSIONS_RESOURCE_REQUEST_POLICY_H_ | 5 #ifndef CHROME_RENDERER_EXTENSIONS_RESOURCE_REQUEST_POLICY_H_ |
| 6 #define CHROME_RENDERER_EXTENSIONS_RESOURCE_REQUEST_POLICY_H_ | 6 #define CHROME_RENDERER_EXTENSIONS_RESOURCE_REQUEST_POLICY_H_ |
| 7 | 7 |
| 8 #include <string> | |
|
lfg
2015/08/26 16:44:38
Why do you need this?
paulmeyer
2015/08/27 17:28:48
It was needed at some point but not anymore. Remov
| |
| 9 | |
| 8 #include "ui/base/page_transition_types.h" | 10 #include "ui/base/page_transition_types.h" |
| 9 | 11 |
| 10 class GURL; | 12 class GURL; |
| 11 | 13 |
| 12 namespace blink { | 14 namespace blink { |
| 13 class WebFrame; | 15 class WebFrame; |
| 14 } | 16 } |
| 15 | 17 |
| 16 namespace extensions { | 18 namespace extensions { |
| 17 | 19 |
| (...skipping 13 matching lines...) Expand all Loading... | |
| 31 static bool CanRequestExtensionResourceScheme(const GURL& resource_url, | 33 static bool CanRequestExtensionResourceScheme(const GURL& resource_url, |
| 32 blink::WebFrame* frame); | 34 blink::WebFrame* frame); |
| 33 | 35 |
| 34 private: | 36 private: |
| 35 ResourceRequestPolicy(); | 37 ResourceRequestPolicy(); |
| 36 }; | 38 }; |
| 37 | 39 |
| 38 } // namespace extensions | 40 } // namespace extensions |
| 39 | 41 |
| 40 #endif // CHROME_RENDERER_EXTENSIONS_RESOURCE_REQUEST_POLICY_H_ | 42 #endif // CHROME_RENDERER_EXTENSIONS_RESOURCE_REQUEST_POLICY_H_ |
| OLD | NEW |