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

Side by Side Diff: extensions/renderer/bindings/binding_access_checker.h

Issue 2947463002: [Extensions Bindings] Add a bindings/ subdirectory under renderer (Closed)
Patch Set: . Created 3 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
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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_RENDERER_BINDING_ACCESS_CHECKER_H_ 5 #ifndef EXTENSIONS_RENDERER_BINDINGS_BINDING_ACCESS_CHECKER_H_
6 #define EXTENSIONS_RENDERER_BINDING_ACCESS_CHECKER_H_ 6 #define EXTENSIONS_RENDERER_BINDINGS_BINDING_ACCESS_CHECKER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "v8/include/v8.h" 12 #include "v8/include/v8.h"
13 13
14 namespace extensions { 14 namespace extensions {
15 15
16 // A helper class to handle access-checking API features. 16 // A helper class to handle access-checking API features.
(...skipping 18 matching lines...) Expand all
35 const std::string& full_name) const; 35 const std::string& full_name) const;
36 36
37 private: 37 private:
38 AvailabilityCallback is_available_; 38 AvailabilityCallback is_available_;
39 39
40 DISALLOW_COPY_AND_ASSIGN(BindingAccessChecker); 40 DISALLOW_COPY_AND_ASSIGN(BindingAccessChecker);
41 }; 41 };
42 42
43 } // namespace extensions 43 } // namespace extensions
44 44
45 #endif // EXTENSIONS_RENDERER_BINDING_ACCESS_CHECKER_H_ 45 #endif // EXTENSIONS_RENDERER_BINDINGS_BINDING_ACCESS_CHECKER_H_
OLDNEW
« no previous file with comments | « extensions/renderer/bindings/argument_spec_unittest.cc ('k') | extensions/renderer/bindings/binding_access_checker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698