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

Unified Diff: chrome/browser/extensions/api/runtime/runtime_api.h

Issue 10941003: Reset registered events and dispatch runtime.onInstalled to all extensions when (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 3 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 | « no previous file | chrome/browser/extensions/api/runtime/runtime_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/runtime/runtime_api.h
diff --git a/chrome/browser/extensions/api/runtime/runtime_api.h b/chrome/browser/extensions/api/runtime/runtime_api.h
index e4264c204749ee5865e89adfad5be5750f632759..8c4a2933d54d7f9e6fc0a4aa1e159f47a5373fb6 100644
--- a/chrome/browser/extensions/api/runtime/runtime_api.h
+++ b/chrome/browser/extensions/api/runtime/runtime_api.h
@@ -23,7 +23,8 @@ class RuntimeEventRouter {
// Dispatches the onInstalled event to the given extension.
static void DispatchOnInstalledEvent(Profile* profile,
const std::string& extension_id,
- const Version& old_version);
+ const Version& old_version,
+ bool chrome_updated);
Aaron Boodman 2012/09/18 00:19:03 Is it possible to send old Chrome version as well?
Matt Perry 2012/09/18 00:57:03 I thought about it, but decided against it, becaus
};
class RuntimeGetBackgroundPageFunction : public AsyncExtensionFunction {
« no previous file with comments | « no previous file | chrome/browser/extensions/api/runtime/runtime_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698