| Index: chrome/renderer/extensions/pepper_request_natives.h
|
| diff --git a/chrome/renderer/extensions/pepper_request_natives.h b/chrome/renderer/extensions/pepper_request_natives.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..c559a25a9345f585030c3f949f0893fc1b67cfc1
|
| --- /dev/null
|
| +++ b/chrome/renderer/extensions/pepper_request_natives.h
|
| @@ -0,0 +1,30 @@
|
| +// Copyright 2013 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef CHROME_RENDERER_EXTENSIONS_PEPPER_REQUEST_NATIVES_H_
|
| +#define CHROME_RENDERER_EXTENSIONS_PEPPER_REQUEST_NATIVES_H_
|
| +
|
| +#include "base/compiler_specific.h"
|
| +#include "chrome/renderer/extensions/object_backed_native_handler.h"
|
| +
|
| +namespace base {
|
| +class Value;
|
| +}
|
| +
|
| +namespace extensions {
|
| +
|
| +// Custom bindings for the PepperRequestNatives API.
|
| +class PepperRequestNatives : public ObjectBackedNativeHandler {
|
| + public:
|
| + explicit PepperRequestNatives(ChromeV8Context* context);
|
| +
|
| + private:
|
| + void SendResponse(const v8::FunctionCallbackInfo<v8::Value>& args);
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(PepperRequestNatives);
|
| +};
|
| +
|
| +} // namespace extensions
|
| +
|
| +#endif // CHROME_RENDERER_EXTENSIONS_PEPPER_REQUEST_NATIVES_H_
|
|
|