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

Side by Side Diff: chrome/browser/chromeos/cros/system_library.h

Issue 5854003: Remove CrOS hack from ppapi.gyp that made the include directories work. This... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_SYSTEM_LIBRARY_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_CROS_SYSTEM_LIBRARY_H_
6 #define CHROME_BROWSER_CHROMEOS_CROS_SYSTEM_LIBRARY_H_ 6 #define CHROME_BROWSER_CHROMEOS_CROS_SYSTEM_LIBRARY_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/observer_list.h" 9 #include "base/observer_list.h"
10 #include "base/singleton.h" 10 #include "base/singleton.h"
11 #include "cros/chromeos_system.h" 11 #include "third_party/cros/chromeos_system.h"
12 #include "unicode/timezone.h" 12 #include "unicode/timezone.h"
13 13
14 namespace chromeos { 14 namespace chromeos {
15 15
16 // This interface defines interaction with the ChromeOS system APIs. 16 // This interface defines interaction with the ChromeOS system APIs.
17 class SystemLibrary { 17 class SystemLibrary {
18 public: 18 public:
19 class Observer { 19 class Observer {
20 public: 20 public:
21 // Called when the timezone has changed. |timezone| is non-null. 21 // Called when the timezone has changed. |timezone| is non-null.
(...skipping 17 matching lines...) Expand all
39 std::string* result) = 0; 39 std::string* result) = 0;
40 40
41 // Factory function, creates a new instance and returns ownership. 41 // Factory function, creates a new instance and returns ownership.
42 // For normal usage, access the singleton via CrosLibrary::Get(). 42 // For normal usage, access the singleton via CrosLibrary::Get().
43 static SystemLibrary* GetImpl(bool stub); 43 static SystemLibrary* GetImpl(bool stub);
44 }; 44 };
45 45
46 } // namespace chromeos 46 } // namespace chromeos
47 47
48 #endif // CHROME_BROWSER_CHROMEOS_CROS_SYSTEM_LIBRARY_H_ 48 #endif // CHROME_BROWSER_CHROMEOS_CROS_SYSTEM_LIBRARY_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/cros/syslogs_library.h ('k') | chrome/browser/chromeos/cros/touchpad_library.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698