| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_SYSTEM_SYSLOGS_PROVIDER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_SYSTEM_SYSLOGS_PROVIDER_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_SYSTEM_SYSLOGS_PROVIDER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_SYSTEM_SYSLOGS_PROVIDER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/callback.h" | 10 #include "base/callback.h" |
| 11 #include "chrome/browser/cancelable_request.h" | 11 #include "chrome/browser/common/cancelable_request.h" |
| 12 | 12 |
| 13 class CancelableRequestConsumerBase; | 13 class CancelableRequestConsumerBase; |
| 14 | 14 |
| 15 namespace chromeos { | 15 namespace chromeos { |
| 16 namespace system { | 16 namespace system { |
| 17 | 17 |
| 18 typedef std::map<std::string, std::string> LogDictionaryType; | 18 typedef std::map<std::string, std::string> LogDictionaryType; |
| 19 | 19 |
| 20 // This interface provides access to Chrome OS syslogs. | 20 // This interface provides access to Chrome OS syslogs. |
| 21 class SyslogsProvider : public CancelableRequestProvider { | 21 class SyslogsProvider : public CancelableRequestProvider { |
| (...skipping 24 matching lines...) Expand all Loading... |
| 46 const ReadCompleteCallback& callback) = 0; | 46 const ReadCompleteCallback& callback) = 0; |
| 47 | 47 |
| 48 protected: | 48 protected: |
| 49 virtual ~SyslogsProvider() {} | 49 virtual ~SyslogsProvider() {} |
| 50 }; | 50 }; |
| 51 | 51 |
| 52 } // namespace system | 52 } // namespace system |
| 53 } // namespace chromeos | 53 } // namespace chromeos |
| 54 | 54 |
| 55 #endif // CHROME_BROWSER_CHROMEOS_SYSTEM_SYSLOGS_PROVIDER_H_ | 55 #endif // CHROME_BROWSER_CHROMEOS_SYSTEM_SYSLOGS_PROVIDER_H_ |
| OLD | NEW |