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

Side by Side Diff: chrome/browser/extensions/api/braille_display_private/braille_controller_brlapi.h

Issue 1308823002: Move Singleton and related structs to namespace base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ToT Created 5 years, 3 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 #ifndef CHROME_BROWSER_EXTENSIONS_API_BRAILLE_DISPLAY_PRIVATE_BRAILLE_CONTROLLER _BRLAPI_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_BRAILLE_DISPLAY_PRIVATE_BRAILLE_CONTROLLER _BRLAPI_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_BRAILLE_DISPLAY_PRIVATE_BRAILLE_CONTROLLER _BRLAPI_H_ 6 #define CHROME_BROWSER_EXTENSIONS_API_BRAILLE_DISPLAY_PRIVATE_BRAILLE_CONTROLLER _BRLAPI_H_
7 7
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "base/files/file_path_watcher.h" 9 #include "base/files/file_path_watcher.h"
10 #include "base/gtest_prod_util.h" 10 #include "base/gtest_prod_util.h"
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 bool started_connecting_; 72 bool started_connecting_;
73 bool connect_scheduled_; 73 bool connect_scheduled_;
74 base::Time retry_connect_horizon_; 74 base::Time retry_connect_horizon_;
75 75
76 // Manipulated on the UI thread. 76 // Manipulated on the UI thread.
77 base::ObserverList<BrailleObserver> observers_; 77 base::ObserverList<BrailleObserver> observers_;
78 78
79 // Manipulated on the FILE thread. 79 // Manipulated on the FILE thread.
80 base::FilePathWatcher file_path_watcher_; 80 base::FilePathWatcher file_path_watcher_;
81 81
82 friend struct DefaultSingletonTraits<BrailleControllerImpl>; 82 friend struct base::DefaultSingletonTraits<BrailleControllerImpl>;
83 83
84 DISALLOW_COPY_AND_ASSIGN(BrailleControllerImpl); 84 DISALLOW_COPY_AND_ASSIGN(BrailleControllerImpl);
85 }; 85 };
86 86
87 } // namespace braille_display_private 87 } // namespace braille_display_private
88 } // namespace api 88 } // namespace api
89 } // namespace extensions 89 } // namespace extensions
90 90
91 #endif // CHROME_BROWSER_EXTENSIONS_API_BRAILLE_DISPLAY_PRIVATE_BRAILLE_CONTROL LER_BRLAPI_H_ 91 #endif // CHROME_BROWSER_EXTENSIONS_API_BRAILLE_DISPLAY_PRIVATE_BRAILLE_CONTROL LER_BRLAPI_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698