Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_RENDERER_EXTENSIONS_PEPPER_REQUEST_NATIVES_H_ | |
| 6 #define CHROME_RENDERER_EXTENSIONS_PEPPER_REQUEST_NATIVES_H_ | |
| 7 | |
| 8 #include "base/compiler_specific.h" | |
| 9 #include "chrome/renderer/extensions/object_backed_native_handler.h" | |
| 10 | |
| 11 namespace base { | |
| 12 class Value; | |
| 13 } | |
| 14 | |
| 15 namespace extensions { | |
| 16 | |
| 17 // Custom bindings for the PepperRequestNatives API. | |
|
koz (OOO until 15th September)
2013/12/02 23:27:19
Could you change this comment to describe what the
Sam McNally
2013/12/02 23:57:10
Done.
| |
| 18 class PepperRequestNatives : public ObjectBackedNativeHandler { | |
| 19 public: | |
| 20 explicit PepperRequestNatives(ChromeV8Context* context); | |
| 21 | |
| 22 private: | |
| 23 void SendResponse(const v8::FunctionCallbackInfo<v8::Value>& args); | |
|
koz (OOO until 15th September)
2013/12/02 23:27:19
Add a comment for this function and include what t
Sam McNally
2013/12/02 23:57:10
Done.
| |
| 24 | |
| 25 DISALLOW_COPY_AND_ASSIGN(PepperRequestNatives); | |
| 26 }; | |
| 27 | |
| 28 } // namespace extensions | |
| 29 | |
| 30 #endif // CHROME_RENDERER_EXTENSIONS_PEPPER_REQUEST_NATIVES_H_ | |
| OLD | NEW |