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

Unified Diff: chrome/browser/component_updater/cros_component_installer.h

Issue 2882133003: component_updater: add '_env_version' attribute for cros_component_installer (Closed)
Patch Set: Created 3 years, 7 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
« no previous file with comments | « no previous file | chrome/browser/component_updater/cros_component_installer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/component_updater/cros_component_installer.h
diff --git a/chrome/browser/component_updater/cros_component_installer.h b/chrome/browser/component_updater/cros_component_installer.h
index 2a55c84ceb9327c65a4c5cf3426b3e70988820eb..7673d744f2d468add48964847aa5d17111e3694d 100644
--- a/chrome/browser/component_updater/cros_component_installer.h
+++ b/chrome/browser/component_updater/cros_component_installer.h
@@ -18,10 +18,10 @@ namespace component_updater {
#if defined(OS_CHROMEOS)
struct ComponentConfig {
std::string name;
- std::string dir;
+ std::string env_version;
std::string sha2hashstr;
ComponentConfig(const std::string& name,
- const std::string& dir,
+ const std::string& env_version,
const std::string& sha2hashstr);
~ComponentConfig();
};
@@ -50,8 +50,8 @@ class CrOSComponentInstallerTraits : public ComponentInstallerTraits {
std::string GetName() const override;
update_client::InstallerAttributes GetInstallerAttributes() const override;
std::vector<std::string> GetMimeTypes() const override;
- std::string dir_name;
std::string name;
+ std::string env_version;
uint8_t kSha2Hash_[crypto::kSHA256Length] = {};
DISALLOW_COPY_AND_ASSIGN(CrOSComponentInstallerTraits);
« no previous file with comments | « no previous file | chrome/browser/component_updater/cros_component_installer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698