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

Unified Diff: extensions/browser/api/runtime/runtime_api.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
Index: extensions/browser/api/runtime/runtime_api.cc
diff --git a/extensions/browser/api/runtime/runtime_api.cc b/extensions/browser/api/runtime/runtime_api.cc
index c7e238c44f5f2816facc9a8bea83c88bd3dcc35b..b8f4f3103f28c0b4654c2a63c59f73bbc18e87bc 100644
--- a/extensions/browser/api/runtime/runtime_api.cc
+++ b/extensions/browser/api/runtime/runtime_api.cc
@@ -251,7 +251,7 @@ void RuntimeAPI::OnExtensionLoaded(content::BrowserContext* browser_context,
base::ThreadTaskRunnerHandle::Get()->PostTask(
FROM_HERE,
base::Bind(&RuntimeEventRouter::DispatchOnInstalledEvent,
- browser_context_, extension->id(), Version(), true));
+ browser_context_, extension->id(), base::Version(), true));
}
void RuntimeAPI::OnExtensionWillBeInstalled(
@@ -509,7 +509,7 @@ void RuntimeEventRouter::DispatchOnStartupEvent(
void RuntimeEventRouter::DispatchOnInstalledEvent(
content::BrowserContext* context,
const std::string& extension_id,
- const Version& old_version,
+ const base::Version& old_version,
bool chrome_updated) {
if (!ExtensionsBrowserClient::Get()->IsValidContext(context))
return;

Powered by Google App Engine
This is Rietveld 408576698