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

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

Issue 196663003: Introduce an extension parameter which is used to customize the extension. It's available for exter… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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 4f433d658737bc922afb33ed17219adf95013fb3..cf992608903292a485853f120146b219f52643b1 100644
--- a/chrome/browser/extensions/extension_service.h
+++ b/chrome/browser/extensions/extension_service.h
@@ -481,6 +481,7 @@ class ExtensionService
virtual bool OnExternalExtensionUpdateUrlFound(
const std::string& id,
+ const std::string& install_parameter,
const GURL& update_url,
extensions::Manifest::Location location,
int creation_flags,
@@ -618,11 +619,11 @@ class ExtensionService
// the extension is installed, e.g., to update event handlers on background
// pages; and perform other extension install tasks before calling
// AddExtension.
- void AddNewOrUpdatedExtension(
- const extensions::Extension* extension,
- extensions::Extension::State initial_state,
- extensions::BlacklistState blacklist_state,
- const syncer::StringOrdinal& page_ordinal);
+ void AddNewOrUpdatedExtension(const extensions::Extension* extension,
+ extensions::Extension::State initial_state,
+ extensions::BlacklistState blacklist_state,
+ const syncer::StringOrdinal& page_ordinal,
+ const std::string& install_parameter);
// Handles sending notification that |extension| was loaded.
void NotifyExtensionLoaded(const extensions::Extension* extension);

Powered by Google App Engine
This is Rietveld 408576698