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

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

Issue 8202011: Notify users about certain changes in installed extensions. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Change #if false to #if 0 for win compiler. Created 9 years, 2 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_service.cc ('k') | chrome/browser/profiles/profile.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extensions_startup.cc
diff --git a/chrome/browser/extensions/extensions_startup.cc b/chrome/browser/extensions/extensions_startup.cc
index 812b4dcb96229c2c158bba8c133ae7bcec1bb166..5d505ac1fbdb323b23b6aad053dc96ac96c71ef9 100644
--- a/chrome/browser/extensions/extensions_startup.cc
+++ b/chrome/browser/extensions/extensions_startup.cc
@@ -79,12 +79,8 @@ bool ExtensionsStartupUtil::UninstallExtension(const CommandLine& cmd_line,
std::string extension_id = cmd_line.GetSwitchValueASCII(
switches::kUninstallExtension);
- if (ExtensionService::UninstallExtensionHelper(extension_service,
- extension_id)) {
- return true;
- }
-
- return false;
+ return ExtensionService::UninstallExtensionHelper(extension_service,
+ extension_id);
}
ExtensionsStartupUtil::~ExtensionsStartupUtil() {
« no previous file with comments | « chrome/browser/extensions/extension_service.cc ('k') | chrome/browser/profiles/profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698