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

Side by Side Diff: chrome/browser/ui/screen_capture_notification_ui_stub.cc

Issue 900733003: Update {virtual,override,final} to follow C++11 style. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 10 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
« no previous file with comments | « chrome/browser/ui/auto_login_infobar_delegate.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #include "chrome/browser/ui/screen_capture_notification_ui.h" 5 #include "chrome/browser/ui/screen_capture_notification_ui.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 8
9 // Stub implementation of the ScreenCaptureNotificationUI interface. 9 // Stub implementation of the ScreenCaptureNotificationUI interface.
10 class ScreenCaptureNotificationUIStub : public ScreenCaptureNotificationUI { 10 class ScreenCaptureNotificationUIStub : public ScreenCaptureNotificationUI {
11 public: 11 public:
12 ScreenCaptureNotificationUIStub() {} 12 ScreenCaptureNotificationUIStub() {}
13 virtual ~ScreenCaptureNotificationUIStub() {} 13 ~ScreenCaptureNotificationUIStub() override {}
14 14
15 virtual gfx::NativeViewId OnStarted(const base::Closure& stop_callback) 15 gfx::NativeViewId OnStarted(const base::Closure& stop_callback) override {
16 override {
17 NOTIMPLEMENTED(); 16 NOTIMPLEMENTED();
18 return 0; 17 return 0;
19 } 18 }
20 }; 19 };
21 20
22 // static 21 // static
23 scoped_ptr<ScreenCaptureNotificationUI> ScreenCaptureNotificationUI::Create( 22 scoped_ptr<ScreenCaptureNotificationUI> ScreenCaptureNotificationUI::Create(
24 const base::string16& title) { 23 const base::string16& title) {
25 return scoped_ptr<ScreenCaptureNotificationUI>( 24 return scoped_ptr<ScreenCaptureNotificationUI>(
26 new ScreenCaptureNotificationUIStub()); 25 new ScreenCaptureNotificationUIStub());
27 } 26 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/auto_login_infobar_delegate.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698