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

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

Issue 9460002: Convert app_bindings.js to the schema_generated_bindings.js infrastructure. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 10 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_RENDERER_EXTENSIONS_CUSTOM_BINDINGS_UTIL_H_ 5 #ifndef CHROME_RENDERER_EXTENSIONS_CUSTOM_BINDINGS_UTIL_H_
6 #define CHROME_RENDERER_EXTENSIONS_CUSTOM_BINDINGS_UTIL_H_ 6 #define CHROME_RENDERER_EXTENSIONS_CUSTOM_BINDINGS_UTIL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "chrome/renderer/extensions/chrome_v8_extension.h" 12 class GURL;
13
14 class Extension; 13 class Extension;
15 class ExtensionDispatcher; 14 class ExtensionDispatcher;
16 15
17 namespace v8 { 16 namespace v8 {
18 class Extension; 17 class Extension;
19 } 18 }
20 19
21 namespace extensions { 20 namespace extensions {
22 21
23 // Utilities for managing the set of V8 extensions for extension API custom 22 // Utilities for managing the set of V8 extensions for extension API custom
(...skipping 14 matching lines...) Expand all
38 // to run in. 37 // to run in.
39 bool AllowAPIInjection(const std::string& api_name, 38 bool AllowAPIInjection(const std::string& api_name,
40 const Extension& extension, 39 const Extension& extension,
41 ExtensionDispatcher* extension_dispatcher); 40 ExtensionDispatcher* extension_dispatcher);
42 41
43 } // namespace custom_bindings_util 42 } // namespace custom_bindings_util
44 43
45 } // namespace extensions 44 } // namespace extensions
46 45
47 #endif // CHROME_RENDERER_EXTENSIONS_CUSTOM_BINDINGS_UTIL_H_ 46 #endif // CHROME_RENDERER_EXTENSIONS_CUSTOM_BINDINGS_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698