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

Side by Side Diff: chrome/browser/extensions/extension_system_impl.cc

Issue 508513002: Remove implicit conversions from scoped_refptr to T* in chrome/browser/extensions/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Two more Created 6 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/extensions/extension_system_impl.h" 5 #include "chrome/browser/extensions/extension_system_impl.h"
6 6
7 #include "base/base_switches.h" 7 #include "base/base_switches.h"
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
(...skipping 397 matching lines...) Expand 10 before | Expand all | Expand 10 after
408 } 408 }
409 } 409 }
410 } 410 }
411 } 411 }
412 412
413 void ExtensionSystemImpl::Shared::Shutdown() { 413 void ExtensionSystemImpl::Shared::Shutdown() {
414 if (extension_warning_service_) { 414 if (extension_warning_service_) {
415 extension_warning_service_->RemoveObserver( 415 extension_warning_service_->RemoveObserver(
416 extension_warning_badge_service_.get()); 416 extension_warning_badge_service_.get());
417 } 417 }
418 if (content_verifier_) 418 if (content_verifier_.get())
419 content_verifier_->Shutdown(); 419 content_verifier_->Shutdown();
420 if (extension_service_) 420 if (extension_service_)
421 extension_service_->Shutdown(); 421 extension_service_->Shutdown();
422 } 422 }
423 423
424 StateStore* ExtensionSystemImpl::Shared::state_store() { 424 StateStore* ExtensionSystemImpl::Shared::state_store() {
425 return state_store_.get(); 425 return state_store_.get();
426 } 426 }
427 427
428 StateStore* ExtensionSystemImpl::Shared::rules_store() { 428 StateStore* ExtensionSystemImpl::Shared::rules_store() {
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
650 void ExtensionSystemImpl::UnregisterExtensionWithRequestContexts( 650 void ExtensionSystemImpl::UnregisterExtensionWithRequestContexts(
651 const std::string& extension_id, 651 const std::string& extension_id,
652 const UnloadedExtensionInfo::Reason reason) { 652 const UnloadedExtensionInfo::Reason reason) {
653 BrowserThread::PostTask( 653 BrowserThread::PostTask(
654 BrowserThread::IO, 654 BrowserThread::IO,
655 FROM_HERE, 655 FROM_HERE,
656 base::Bind(&InfoMap::RemoveExtension, info_map(), extension_id, reason)); 656 base::Bind(&InfoMap::RemoveExtension, info_map(), extension_id, reason));
657 } 657 }
658 658
659 } // namespace extensions 659 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698