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

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

Issue 342003005: Show alert failure for reloading unpacked extensions with bad manifest (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moved path handling back to C++ Created 6 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/extension_service.h
diff --git a/chrome/browser/extensions/extension_service.h b/chrome/browser/extensions/extension_service.h
index 943e3e379605fd5b47114c3c38d0a469770c50f3..b67cf2704c17a09644d3f89ce4eb52f2900f5bf3 100644
--- a/chrome/browser/extensions/extension_service.h
+++ b/chrome/browser/extensions/extension_service.h
@@ -236,8 +236,9 @@ class ExtensionService
void Shutdown();
// Reloads the specified extension, sending the onLaunched() event to it if it
- // currently has any window showing.
- void ReloadExtension(const std::string& extension_id);
+ // currently has any window showing. |be_noisy| is used to enable or disable
+ // noisy notifications for the installer if the extension is unpacked.
+ void ReloadExtension(const std::string& extension_id, bool be_noisy);
// Uninstalls the specified extension. Callers should only call this method
// with extensions that exist. |external_uninstall| is a magical parameter

Powered by Google App Engine
This is Rietveld 408576698