Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1532)

Side by Side Diff: extensions/browser/guest_view/guest_view.h

Issue 622343002: replace OVERRIDE and FINAL with override and final in extensions/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef EXTENSIONS_BROWSER_GUEST_VIEW_GUEST_VIEW_H_ 5 #ifndef EXTENSIONS_BROWSER_GUEST_VIEW_GUEST_VIEW_H_
6 #define EXTENSIONS_BROWSER_GUEST_VIEW_GUEST_VIEW_H_ 6 #define EXTENSIONS_BROWSER_GUEST_VIEW_GUEST_VIEW_H_
7 7
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "content/public/browser/render_frame_host.h" 9 #include "content/public/browser/render_frame_host.h"
10 #include "extensions/browser/guest_view/guest_view_base.h" 10 #include "extensions/browser/guest_view/guest_view_base.h"
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 if (!guest) 50 if (!guest)
51 return NULL; 51 return NULL;
52 return guest->As<T>(); 52 return guest->As<T>();
53 } 53 }
54 54
55 void SetOpener(T* opener) { 55 void SetOpener(T* opener) {
56 GuestViewBase::SetOpener(opener); 56 GuestViewBase::SetOpener(opener);
57 } 57 }
58 58
59 // GuestViewBase implementation. 59 // GuestViewBase implementation.
60 virtual const char* GetViewType() const OVERRIDE { 60 virtual const char* GetViewType() const override {
61 return T::Type; 61 return T::Type;
62 } 62 }
63 63
64 protected: 64 protected:
65 GuestView(content::BrowserContext* browser_context, 65 GuestView(content::BrowserContext* browser_context,
66 int guest_instance_id) 66 int guest_instance_id)
67 : GuestViewBase(browser_context, guest_instance_id) {} 67 : GuestViewBase(browser_context, guest_instance_id) {}
68 virtual ~GuestView() {} 68 virtual ~GuestView() {}
69 69
70 private: 70 private:
71 DISALLOW_COPY_AND_ASSIGN(GuestView); 71 DISALLOW_COPY_AND_ASSIGN(GuestView);
72 }; 72 };
73 73
74 } // namespace extensions 74 } // namespace extensions
75 75
76 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_GUEST_VIEW_H_ 76 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_GUEST_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698