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

Unified Diff: chrome/renderer/extensions/extension_process_bindings.h

Issue 225009: Implementing chrome.i18n.getMessage call, that loads message from the extensi... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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
Index: chrome/renderer/extensions/extension_process_bindings.h
===================================================================
--- chrome/renderer/extensions/extension_process_bindings.h (revision 27238)
+++ chrome/renderer/extensions/extension_process_bindings.h (working copy)
@@ -40,6 +40,11 @@
static void SetHostPermissions(const GURL& extension_url,
const std::vector<URLPattern>& permissions);
+ // Set l10n messages for a particular extension.
+ static void SetL10nMessages(
+ const std::string& extension_id,
+ const std::map<std::string, std::string>& l10n_messages);
+
// Check if the extension in the currently running context has permission to
// access the given extension function. Must be called with a valid V8
// context in scope.

Powered by Google App Engine
This is Rietveld 408576698