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

Side by Side Diff: chrome/browser/chromeos/cros_library.h

Issue 341044: Move chromeos code to namespace chromeos. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_CHROMEOS_CROS_LIBRARY_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_CROS_LIBRARY_H_
6 #define CHROME_BROWSER_CHROMEOS_CROS_LIBRARY_H_ 6 #define CHROME_BROWSER_CHROMEOS_CROS_LIBRARY_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 9
10 namespace chromeos {
11
10 // This class handles the loading of the ChromeOS shared library. 12 // This class handles the loading of the ChromeOS shared library.
11 class CrosLibrary { 13 class CrosLibrary {
12 public: 14 public:
13 // Returns true if the ChromeOS library was loaded. 15 // Returns true if the ChromeOS library was loaded.
14 // If this is the first time this method is called, 16 // If this is the first time this method is called,
15 // we will attempt to load the ChromeOS shared library. 17 // we will attempt to load the ChromeOS shared library.
16 static bool loaded(); 18 static bool loaded();
17 19
18 private: 20 private:
19 CrosLibrary() {} 21 CrosLibrary() {}
20 ~CrosLibrary() {} 22 ~CrosLibrary() {}
21 23
22 static bool loaded_; 24 static bool loaded_;
23 25
24 DISALLOW_COPY_AND_ASSIGN(CrosLibrary); 26 DISALLOW_COPY_AND_ASSIGN(CrosLibrary);
25 }; 27 };
26 28
29 } // namespace chromeos
30
27 #endif // CHROME_BROWSER_CHROMEOS_CROS_LIBRARY_H_ 31 #endif // CHROME_BROWSER_CHROMEOS_CROS_LIBRARY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698