1 // Copyright 2015 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.
5 #ifndef EXTENSIONS_RENDERER_TEST_NATIVE_HANDLER_H_
6 #define EXTENSIONS_RENDERER_TEST_NATIVE_HANDLER_H_
8 #include "base/compiler_specific.h"
9 #include "extensions/renderer/object_backed_native_handler.h"
10 #include "v8/include/v8.h"
12 namespace extensions
{
15 // NativeHandler for the chrome.test API.
16 class TestNativeHandler
: public ObjectBackedNativeHandler
{
18 explicit TestNativeHandler(ScriptContext
* context
);
21 void GetWakeEventPage(const v8::FunctionCallbackInfo
<v8::Value
>& args
);
23 DISALLOW_COPY_AND_ASSIGN(TestNativeHandler
);
26 } // namespace extensions
28 #endif // EXTENSIONS_RENDERER_TEST_NATIVE_HANDLER_H_