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

Unified Diff: chrome/browser/extensions/extension_install_checker.h

Issue 510313002: Extensions-related fixups for scoped_refptr conversion operator removal. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/extensions/extension_disabled_ui.cc ('k') | chrome/browser/extensions/extension_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_install_checker.h
diff --git a/chrome/browser/extensions/extension_install_checker.h b/chrome/browser/extensions/extension_install_checker.h
index 2841e833adb2e1e8d6adbd0e312611f53cfe9eb1..17a517bd9c87598df716aa7db411727436d031f3 100644
--- a/chrome/browser/extensions/extension_install_checker.h
+++ b/chrome/browser/extensions/extension_install_checker.h
@@ -56,8 +56,10 @@ class ExtensionInstallChecker {
Profile* profile() const { return profile_; }
- scoped_refptr<const Extension> extension() { return extension_; }
- void set_extension(const Extension* extension) { extension_ = extension; }
+ const scoped_refptr<const Extension>& extension() { return extension_; }
+ void set_extension(const scoped_refptr<const Extension>& extension) {
+ extension_ = extension;
+ }
// Returns true if any checks are currently running.
bool is_running() const { return running_checks_ != 0; }
« no previous file with comments | « chrome/browser/extensions/extension_disabled_ui.cc ('k') | chrome/browser/extensions/extension_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698