| Index: chrome/browser/ui/webui/extensions/extension_error_handler.h
|
| diff --git a/chrome/browser/ui/webui/extensions/extension_error_handler.h b/chrome/browser/ui/webui/extensions/extension_error_handler.h
|
| index 41ea12acdde0c2c7e1eab9258d88eaded4952bbf..080f03df1b8e87d09fe56f2b78a14dd75eb1afb4 100644
|
| --- a/chrome/browser/ui/webui/extensions/extension_error_handler.h
|
| +++ b/chrome/browser/ui/webui/extensions/extension_error_handler.h
|
| @@ -9,6 +9,7 @@
|
|
|
| #include "base/basictypes.h"
|
| #include "base/compiler_specific.h"
|
| +#include "base/memory/weak_ptr.h"
|
| #include "content/public/browser/web_ui_message_handler.h"
|
|
|
| namespace base {
|
| @@ -43,6 +44,10 @@ class ExtensionErrorHandler : public content::WebUIMessageHandler {
|
|
|
| // Handle the "requestFileSource" call.
|
| void HandleRequestFileSource(const base::ListValue* args);
|
| +
|
| + // Called when |error_ui_util::HandleRequestFileSource| finishes.
|
| + void OnFileSourceHandled(const base::DictionaryValue& source);
|
| +
|
| // Handle the "openDevTools" call.
|
| void HandleOpenDevTools(const base::ListValue* args);
|
|
|
| @@ -65,6 +70,9 @@ class ExtensionErrorHandler : public content::WebUIMessageHandler {
|
| // The profile with which this Handler is associated.
|
| Profile* profile_;
|
|
|
| + // Weak pointer factory for posting background tasks.
|
| + base::WeakPtrFactory<ExtensionErrorHandler> weak_ptr_factory_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(ExtensionErrorHandler);
|
| };
|
|
|
|
|