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

Side by Side Diff: courgette/courgette_config.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 ios 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 COURGETTE_COURGETTE_CONFIG_H_ 5 #ifndef COURGETTE_COURGETTE_CONFIG_H_
6 #define COURGETTE_COURGETTE_CONFIG_H_ 6 #define COURGETTE_COURGETTE_CONFIG_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/singleton.h" 9 #include "base/memory/singleton.h"
10 10
(...skipping 13 matching lines...) Expand all
24 24
25 bool is_experimental() const { return is_experimental_; } 25 bool is_experimental() const { return is_experimental_; }
26 26
27 uint32 ensemble_version() const; 27 uint32 ensemble_version() const;
28 28
29 private: 29 private:
30 bool is_experimental_; 30 bool is_experimental_;
31 31
32 CourgetteConfig(); 32 CourgetteConfig();
33 33
34 friend struct DefaultSingletonTraits<CourgetteConfig>; 34 friend struct base::DefaultSingletonTraits<CourgetteConfig>;
35 }; 35 };
36 36
37 } // namespace courgette 37 } // namespace courgette
38 38
39 #endif // COURGETTE_COURGETTE_CONFIG_H_ 39 #endif // COURGETTE_COURGETTE_CONFIG_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698