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

Unified Diff: chromeos/system/version_loader.h

Issue 799683003: Move chromeos::version_loader to src/chromeos/system (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chromeos/chromeos.gyp ('k') | chromeos/system/version_loader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/system/version_loader.h
diff --git a/chrome/browser/chromeos/version_loader.h b/chromeos/system/version_loader.h
similarity index 66%
rename from chrome/browser/chromeos/version_loader.h
rename to chromeos/system/version_loader.h
index 0999a833831ed12c3c5aa966ac325ca3da4cc291..7981dc2830ac9d0c88013b490ba6806aa81d9d31 100644
--- a/chrome/browser/chromeos/version_loader.h
+++ b/chromeos/system/version_loader.h
@@ -2,11 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_CHROMEOS_VERSION_LOADER_H_
-#define CHROME_BROWSER_CHROMEOS_VERSION_LOADER_H_
+#ifndef CHROMEOS_SYSTEM_VERSION_LOADER_H_
+#define CHROMEOS_SYSTEM_VERSION_LOADER_H_
#include <string>
+#include "chromeos/chromeos_export.h"
+
namespace chromeos {
namespace version_loader {
@@ -20,16 +22,16 @@ enum VersionFormat {
// If |full_version| is true version string with extra info is extracted,
// otherwise it's in short format x.x.xx.x.
// Must be run on a blocking thread pool.
-std::string GetVersion(VersionFormat format);
+CHROMEOS_EXPORT std::string GetVersion(VersionFormat format);
// Gets the firmware info.
// Must be run on a blocking thread pool.
-std::string GetFirmware();
+CHROMEOS_EXPORT std::string GetFirmware();
// Extracts the firmware from the file.
-std::string ParseFirmware(const std::string& contents);
+CHROMEOS_EXPORT std::string ParseFirmware(const std::string& contents);
} // namespace version_loader
} // namespace chromeos
-#endif // CHROME_BROWSER_CHROMEOS_VERSION_LOADER_H_
+#endif // CHROMEOS_SYSTEM_VERSION_LOADER_H_
« no previous file with comments | « chromeos/chromeos.gyp ('k') | chromeos/system/version_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698