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

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

Issue 1871713002: Convert //chrome/browser/extensions from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and fix header Created 4 years, 8 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_controll er.h" 5 #include "chrome/browser/extensions/api/braille_display_private/braille_controll er.h"
6 6
7 #include "base/memory/scoped_ptr.h" 7 #include <memory>
8
8 #include "base/memory/singleton.h" 9 #include "base/memory/singleton.h"
9 #include "chrome/browser/extensions/api/braille_display_private/stub_braille_con troller.h" 10 #include "chrome/browser/extensions/api/braille_display_private/stub_braille_con troller.h"
10 #include "chrome/common/extensions/api/braille_display_private.h" 11 #include "chrome/common/extensions/api/braille_display_private.h"
11 12
12 namespace extensions { 13 namespace extensions {
13 namespace api { 14 namespace api {
14 namespace braille_display_private { 15 namespace braille_display_private {
15 16
16 BrailleController::BrailleController() { 17 BrailleController::BrailleController() {
17 } 18 }
18 19
19 BrailleController::~BrailleController() { 20 BrailleController::~BrailleController() {
20 } 21 }
21 22
22 // static 23 // static
23 BrailleController* BrailleController::GetInstance() { 24 BrailleController* BrailleController::GetInstance() {
24 return StubBrailleController::GetInstance(); 25 return StubBrailleController::GetInstance();
25 } 26 }
26 27
27 } // namespace braille_display_private 28 } // namespace braille_display_private
28 } // namespace api 29 } // namespace api
29 } // namespace extensions 30 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698