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

Side by Side Diff: chrome/browser/extensions/api/braille_display_private/braille_display_private_api.cc

Issue 624153002: replace OVERRIDE and FINAL with override and final in chrome/browser/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 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/extensions/api/braille_display_private/braille_display_ private_api.h" 5 #include "chrome/browser/extensions/api/braille_display_private/braille_display_ private_api.h"
6 6
7 #include "base/lazy_instance.h" 7 #include "base/lazy_instance.h"
8 #include "chrome/browser/extensions/api/braille_display_private/braille_controll er.h" 8 #include "chrome/browser/extensions/api/braille_display_private/braille_controll er.h"
9 #include "chrome/browser/profiles/profile.h" 9 #include "chrome/browser/profiles/profile.h"
10 #include "chrome/browser/profiles/profile_manager.h" 10 #include "chrome/browser/profiles/profile_manager.h"
(...skipping 12 matching lines...) Expand all
23 using extensions::api::braille_display_private::BrailleController; 23 using extensions::api::braille_display_private::BrailleController;
24 24
25 namespace extensions { 25 namespace extensions {
26 26
27 class BrailleDisplayPrivateAPI::DefaultEventDelegate 27 class BrailleDisplayPrivateAPI::DefaultEventDelegate
28 : public BrailleDisplayPrivateAPI::EventDelegate { 28 : public BrailleDisplayPrivateAPI::EventDelegate {
29 public: 29 public:
30 DefaultEventDelegate(EventRouter::Observer* observer, Profile* profile); 30 DefaultEventDelegate(EventRouter::Observer* observer, Profile* profile);
31 virtual ~DefaultEventDelegate(); 31 virtual ~DefaultEventDelegate();
32 32
33 virtual void BroadcastEvent(scoped_ptr<Event> event) OVERRIDE; 33 virtual void BroadcastEvent(scoped_ptr<Event> event) override;
34 virtual bool HasListener() OVERRIDE; 34 virtual bool HasListener() override;
35 35
36 private: 36 private:
37 EventRouter::Observer* observer_; 37 EventRouter::Observer* observer_;
38 Profile* profile_; 38 Profile* profile_;
39 }; 39 };
40 40
41 BrailleDisplayPrivateAPI::BrailleDisplayPrivateAPI( 41 BrailleDisplayPrivateAPI::BrailleDisplayPrivateAPI(
42 content::BrowserContext* context) 42 content::BrowserContext* context)
43 : profile_(Profile::FromBrowserContext(context)), 43 : profile_(Profile::FromBrowserContext(context)),
44 scoped_observer_(this), 44 scoped_observer_(this),
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 170
171 void BrailleDisplayPrivateWriteDotsFunction::Work() { 171 void BrailleDisplayPrivateWriteDotsFunction::Work() {
172 BrailleController::GetInstance()->WriteDots(params_->cells); 172 BrailleController::GetInstance()->WriteDots(params_->cells);
173 } 173 }
174 174
175 bool BrailleDisplayPrivateWriteDotsFunction::Respond() { 175 bool BrailleDisplayPrivateWriteDotsFunction::Respond() {
176 return true; 176 return true;
177 } 177 }
178 } // namespace api 178 } // namespace api
179 } // namespace extensions 179 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698