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

Unified Diff: extensions/browser/api/runtime/runtime_api.cc

Issue 1281313003: base: Remove using:: declaration from version.h header. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more fixes Created 5 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 | « content/public/common/webplugininfo.cc ('k') | extensions/browser/updater/extension_downloader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 443f93682b6d46cb3e054fa930516c7ebe2e2eac..544bf58c82e598463ed6ec4a80f5b8f749ee8f93 100644
--- a/extensions/browser/api/runtime/runtime_api.cc
+++ b/extensions/browser/api/runtime/runtime_api.cc
@@ -191,7 +191,7 @@ void RuntimeAPI::OnExtensionLoaded(content::BrowserContext* browser_context,
base::Bind(&RuntimeEventRouter::DispatchOnInstalledEvent,
browser_context_,
extension->id(),
- Version(),
+ base::Version(),
true));
}
@@ -206,7 +206,7 @@ void RuntimeAPI::OnExtensionWillBeInstalled(
if (util::IsEphemeralApp(extension->id(), browser_context_))
return;
- Version old_version = delegate_->GetPreviousExtensionVersion(extension);
+ base::Version old_version = delegate_->GetPreviousExtensionVersion(extension);
// Dispatch the onInstalled event.
base::MessageLoop::current()->PostTask(
@@ -287,7 +287,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;
« no previous file with comments | « content/public/common/webplugininfo.cc ('k') | extensions/browser/updater/extension_downloader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698