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

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

Issue 2947463002: [Extensions Bindings] Add a bindings/ subdirectory under renderer (Closed)
Patch Set: . Created 3 years, 6 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_API_REQUEST_HANDLER_H_ 5 #ifndef EXTENSIONS_RENDERER_BINDINGS_API_REQUEST_HANDLER_H_
6 #define EXTENSIONS_RENDERER_API_REQUEST_HANDLER_H_ 6 #define EXTENSIONS_RENDERER_BINDINGS_API_REQUEST_HANDLER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <memory> 9 #include <memory>
10 #include <set> 10 #include <set>
11 11
12 #include "base/callback.h" 12 #include "base/callback.h"
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "extensions/renderer/api_binding_types.h" 14 #include "extensions/renderer/bindings/api_binding_types.h"
15 #include "extensions/renderer/api_last_error.h" 15 #include "extensions/renderer/bindings/api_last_error.h"
16 #include "third_party/WebKit/public/web/WebUserGestureToken.h" 16 #include "third_party/WebKit/public/web/WebUserGestureToken.h"
17 #include "v8/include/v8.h" 17 #include "v8/include/v8.h"
18 18
19 namespace base { 19 namespace base {
20 class ListValue; 20 class ListValue;
21 } 21 }
22 22
23 namespace extensions { 23 namespace extensions {
24 24
25 // A wrapper around a map for extension API calls. Contains all pending requests 25 // A wrapper around a map for extension API calls. Contains all pending requests
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 // (where we have to deal with e.g. blocking javascript). 119 // (where we have to deal with e.g. blocking javascript).
120 CallJSFunction call_js_; 120 CallJSFunction call_js_;
121 121
122 APILastError last_error_; 122 APILastError last_error_;
123 123
124 DISALLOW_COPY_AND_ASSIGN(APIRequestHandler); 124 DISALLOW_COPY_AND_ASSIGN(APIRequestHandler);
125 }; 125 };
126 126
127 } // namespace extensions 127 } // namespace extensions
128 128
129 #endif // EXTENSIONS_RENDERER_API_REQUEST_HANDLER_H_ 129 #endif // EXTENSIONS_RENDERER_BINDINGS_API_REQUEST_HANDLER_H_
OLDNEW
« no previous file with comments | « extensions/renderer/bindings/api_last_error_unittest.cc ('k') | extensions/renderer/bindings/api_request_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698