| Index: chrome/browser/extensions/execute_code_in_tab_function.h
|
| diff --git a/chrome/browser/extensions/execute_code_in_tab_function.h b/chrome/browser/extensions/execute_code_in_tab_function.h
|
| index 2dbc115d1ba1fc8cbfa5a7218fc72ae12496d1fe..b57ad497c14243304f030fdccbe0e67b33fe59ba 100644
|
| --- a/chrome/browser/extensions/execute_code_in_tab_function.h
|
| +++ b/chrome/browser/extensions/execute_code_in_tab_function.h
|
| @@ -33,6 +33,17 @@ class ExecuteCodeInTabFunction : public AsyncExtensionFunction,
|
| // arguments has been loaded.
|
| void DidLoadFile(bool success, const std::string& data);
|
|
|
| + // Runs on FILE thread. Loads message bundles for the extension and
|
| + // localizes the CSS data. Calls back DidLoadAndLocalizeFile on the UI thread.
|
| + void LocalizeCSS(
|
| + const std::string& data,
|
| + const std::string& extension_id,
|
| + const FilePath& extension_path,
|
| + const std::string& extension_default_locale);
|
| +
|
| + // Called when contents from the loaded file have been localized.
|
| + void DidLoadAndLocalizeFile(bool success, const std::string& data);
|
| +
|
| // Run in UI thread. Code string contains the code to be executed. Returns
|
| // true on success. If true is returned, this does an AddRef.
|
| bool Execute(const std::string& code_string);
|
|
|