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

Unified Diff: chromeos/system/name_value_pairs_parser.h

Issue 14643006: [chromeos] Remove dependencies of StatisticsProvider on chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: trybots Created 7 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: chromeos/system/name_value_pairs_parser.h
diff --git a/chrome/browser/chromeos/system/name_value_pairs_parser.h b/chromeos/system/name_value_pairs_parser.h
similarity index 92%
rename from chrome/browser/chromeos/system/name_value_pairs_parser.h
rename to chromeos/system/name_value_pairs_parser.h
index a41a5ad555bc7f5913002a73296687dee8567580..2cb704b5191212ca8ba65b3d498a043a02424e4f 100644
--- a/chrome/browser/chromeos/system/name_value_pairs_parser.h
+++ b/chromeos/system/name_value_pairs_parser.h
@@ -2,13 +2,14 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_CHROMEOS_SYSTEM_NAME_VALUE_PAIRS_PARSER_H_
-#define CHROME_BROWSER_CHROMEOS_SYSTEM_NAME_VALUE_PAIRS_PARSER_H_
+#ifndef CHROMEOS_SYSTEM_NAME_VALUE_PAIRS_PARSER_H_
+#define CHROMEOS_SYSTEM_NAME_VALUE_PAIRS_PARSER_H_
#include <map>
#include <string>
#include "base/basictypes.h"
+#include "chromeos/chromeos_export.h"
namespace base {
class FilePath;
@@ -19,7 +20,7 @@ namespace system {
// The parser is used to get machine info as name-value pairs. Defined
// here to be accessible by tests.
-class NameValuePairsParser {
+class CHROMEOS_EXPORT NameValuePairsParser {
public:
typedef std::map<std::string, std::string> NameValueMap;
@@ -79,4 +80,4 @@ class NameValuePairsParser {
} // namespace system
} // namespace chromeos
-#endif // CHROME_BROWSER_CHROMEOS_SYSTEM_NAME_VALUE_PAIRS_PARSER_H_
+#endif // CHROMEOS_SYSTEM_NAME_VALUE_PAIRS_PARSER_H_

Powered by Google App Engine
This is Rietveld 408576698