Update {virtual,override,final} to follow C++11 style.
[chromium-blink-merge.git] / extensions / browser / api / app_view / app_view_guest_internal_api.h
blobde2be9dcf3f8c79c391a01703c1aa6dfab825e56
1 // Copyright 2014 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_BROWSER_API_APP_VIEW_APP_VIEW_GUEST_INTERNAL_API_H_
6 #define EXTENSIONS_BROWSER_API_APP_VIEW_APP_VIEW_GUEST_INTERNAL_API_H_
8 #include "extensions/browser/extension_function.h"
10 namespace extensions {
12 class AppViewGuestInternalAttachFrameFunction : public AsyncExtensionFunction {
13 public:
14 DECLARE_EXTENSION_FUNCTION("appViewGuestInternal.attachFrame",
15 APPVIEWINTERNAL_ATTACHFRAME);
16 AppViewGuestInternalAttachFrameFunction();
18 protected:
19 ~AppViewGuestInternalAttachFrameFunction() override {}
20 bool RunAsync() final;
22 private:
23 DISALLOW_COPY_AND_ASSIGN(AppViewGuestInternalAttachFrameFunction);
26 class AppViewGuestInternalDenyRequestFunction : public AsyncExtensionFunction {
27 public:
28 DECLARE_EXTENSION_FUNCTION("appViewGuestInternal.denyRequest",
29 APPVIEWINTERNAL_DENYREQUEST);
30 AppViewGuestInternalDenyRequestFunction();
32 protected:
33 ~AppViewGuestInternalDenyRequestFunction() override {}
34 bool RunAsync() final;
36 private:
37 DISALLOW_COPY_AND_ASSIGN(AppViewGuestInternalDenyRequestFunction);
40 } // namespace extensions
42 #endif // EXTENSIONS_BROWSER_API_APP_VIEW_APP_VIEW_GUEST_INTERNAL_API_H_