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

Side by Side Diff: chrome/renderer/extensions/resource_request_policy.h

Issue 1312653003: Fix for WebView accessible resources. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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
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_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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698