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

Unified Diff: extensions/browser/updater/update_service_unittest.cc

Issue 2259383002: Consistently use namespaced base::Version in extensions code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 | « extensions/browser/updater/update_service.cc ('k') | extensions/browser/user_script_loader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/updater/update_service_unittest.cc
diff --git a/extensions/browser/updater/update_service_unittest.cc b/extensions/browser/updater/update_service_unittest.cc
index 83f42d6c92b1fdcdae81bacc1513289d780df259..cceb8e325e18097534db050ad65ff8b930414c2c 100644
--- a/extensions/browser/updater/update_service_unittest.cc
+++ b/extensions/browser/updater/update_service_unittest.cc
@@ -38,9 +38,11 @@ class FakeUpdateClient : public update_client::UpdateClient {
// Used for tests that uninstall pings get requested properly.
struct UninstallPing {
std::string id;
- Version version;
+ base::Version version;
int reason;
- UninstallPing(const std::string& id, const Version& version, int reason)
+ UninstallPing(const std::string& id,
+ const base::Version& version,
+ int reason)
: id(id), version(version), reason(reason) {}
};
std::vector<UninstallPing>& uninstall_pings() { return uninstall_pings_; }
@@ -62,7 +64,7 @@ class FakeUpdateClient : public update_client::UpdateClient {
bool IsUpdating(const std::string& id) const override { return false; }
void Stop() override {}
void SendUninstallPing(const std::string& id,
- const Version& version,
+ const base::Version& version,
int reason) override {
uninstall_pings_.emplace_back(id, version, reason);
}
« no previous file with comments | « extensions/browser/updater/update_service.cc ('k') | extensions/browser/user_script_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698