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

Unified Diff: chrome/browser/extensions/external_provider_impl.cc

Issue 100543005: Update all users of base::Version to explicitly specify the namespace, and clean up the header. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: someday it will work Created 7 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
Index: chrome/browser/extensions/external_provider_impl.cc
diff --git a/chrome/browser/extensions/external_provider_impl.cc b/chrome/browser/extensions/external_provider_impl.cc
index 1a85f5ff1851dfd46f796f3a9f1579457f70c2a1..1eebfc1981abbc01fc806b5f964438536456abb1 100644
--- a/chrome/browser/extensions/external_provider_impl.cc
+++ b/chrome/browser/extensions/external_provider_impl.cc
@@ -246,7 +246,7 @@ void ExternalProviderImpl::SetPrefs(base::DictionaryValue* prefs) {
path = base_path.Append(external_crx);
}
- Version version(external_version);
+ base::Version version(external_version);
if (!version.IsValid()) {
LOG(WARNING) << "Malformed extension dictionary for extension: "
<< extension_id.c_str() << ". Invalid version string \""
@@ -305,7 +305,7 @@ bool ExternalProviderImpl::HasExtension(
bool ExternalProviderImpl::GetExtensionDetails(
const std::string& id, Manifest::Location* location,
- scoped_ptr<Version>* version) const {
+ scoped_ptr<base::Version>* version) const {
CHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
CHECK(prefs_.get());
CHECK(ready_);
@@ -325,7 +325,7 @@ bool ExternalProviderImpl::GetExtensionDetails(
return false;
if (version)
- version->reset(new Version(external_version));
+ version->reset(new base::Version(external_version));
} else {
NOTREACHED(); // Chrome should not allow prefs to get into this state.

Powered by Google App Engine
This is Rietveld 408576698