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

Side by Side Diff: chrome/renderer/extensions/app_hooks_delegate.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
« no previous file with comments | « no previous file | chrome/renderer/extensions/app_hooks_delegate.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 CHROME_RENDERER_EXTENSIONS_APP_HOOKS_DELEGATE_H_ 5 #ifndef CHROME_RENDERER_EXTENSIONS_APP_HOOKS_DELEGATE_H_
6 #define CHROME_RENDERER_EXTENSIONS_APP_HOOKS_DELEGATE_H_ 6 #define CHROME_RENDERER_EXTENSIONS_APP_HOOKS_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "chrome/renderer/extensions/app_bindings_core.h" 11 #include "chrome/renderer/extensions/app_bindings_core.h"
12 #include "extensions/renderer/api_binding_hooks_delegate.h" 12 #include "extensions/renderer/bindings/api_binding_hooks_delegate.h"
13 #include "v8/include/v8.h" 13 #include "v8/include/v8.h"
14 14
15 namespace extensions { 15 namespace extensions {
16 class APIRequestHandler; 16 class APIRequestHandler;
17 class Dispatcher; 17 class Dispatcher;
18 18
19 // The custom hooks for the chrome.app API. 19 // The custom hooks for the chrome.app API.
20 class AppHooksDelegate : public APIBindingHooksDelegate { 20 class AppHooksDelegate : public APIBindingHooksDelegate {
21 public: 21 public:
22 using GetterCallback = 22 using GetterCallback =
(...skipping 21 matching lines...) Expand all
44 APIRequestHandler* request_handler_ = nullptr; 44 APIRequestHandler* request_handler_ = nullptr;
45 45
46 GetterCallback callback_; 46 GetterCallback callback_;
47 47
48 DISALLOW_COPY_AND_ASSIGN(AppHooksDelegate); 48 DISALLOW_COPY_AND_ASSIGN(AppHooksDelegate);
49 }; 49 };
50 50
51 } // namespace extensions 51 } // namespace extensions
52 52
53 #endif // CHROME_RENDERER_EXTENSIONS_APP_HOOKS_DELEGATE_H_ 53 #endif // CHROME_RENDERER_EXTENSIONS_APP_HOOKS_DELEGATE_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/renderer/extensions/app_hooks_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698