Remove linux_chromium_gn_dbg from the chromium CQ.
[chromium-blink-merge.git] / extensions / renderer / test_native_handler.h
blob057329d44e09a6a51505543bb1e637f96cd0977d
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 {
13 class ScriptContext;
15 // NativeHandler for the chrome.test API.
16 class TestNativeHandler : public ObjectBackedNativeHandler {
17 public:
18 explicit TestNativeHandler(ScriptContext* context);
20 private:
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_