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

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

Issue 16703018: Rewrite scoped_ptr<T>(NULL) to use the default ctor in chrome/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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: 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 bde28f2eef4dc6fd3bda41db20fdfaeae5e1b2d5..5939375c2f12592878fbae914327d1cae612ed80 100644
--- a/chrome/browser/extensions/external_provider_impl.cc
+++ b/chrome/browser/extensions/external_provider_impl.cc
@@ -63,22 +63,20 @@ const char ExternalProviderImpl::kIsBookmarkApp[] = "is_bookmark_app";
const char ExternalProviderImpl::kIsFromWebstore[] = "is_from_webstore";
const char ExternalProviderImpl::kKeepIfPresent[] = "keep_if_present";
-ExternalProviderImpl::ExternalProviderImpl(
- VisitorInterface* service,
- ExternalLoader* loader,
- Profile* profile,
- Manifest::Location crx_location,
- Manifest::Location download_location,
- int creation_flags)
- : crx_location_(crx_location),
- download_location_(download_location),
- service_(service),
- prefs_(NULL),
- ready_(false),
- loader_(loader),
- profile_(profile),
- creation_flags_(creation_flags),
- auto_acknowledge_(false) {
+ExternalProviderImpl::ExternalProviderImpl(VisitorInterface* service,
+ ExternalLoader* loader,
+ Profile* profile,
+ Manifest::Location crx_location,
+ Manifest::Location download_location,
+ int creation_flags)
+ : crx_location_(crx_location),
+ download_location_(download_location),
+ service_(service),
+ ready_(false),
+ loader_(loader),
+ profile_(profile),
+ creation_flags_(creation_flags),
+ auto_acknowledge_(false) {
loader_->Init(this);
}

Powered by Google App Engine
This is Rietveld 408576698