| Index: chrome/browser/ui/webui/extensions/extension_error_ui_util.h
|
| diff --git a/chrome/browser/ui/webui/extensions/extension_error_ui_util.h b/chrome/browser/ui/webui/extensions/extension_error_ui_util.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..27a7ce463e2a51d7726801226a2c952ad798d76e
|
| --- /dev/null
|
| +++ b/chrome/browser/ui/webui/extensions/extension_error_ui_util.h
|
| @@ -0,0 +1,38 @@
|
| +// Copyright 2014 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef CHROME_BROWSER_UI_WEBUI_EXTENSIONS_EXTENSION_ERROR_UI_UTIL_H_
|
| +#define CHROME_BROWSER_UI_WEBUI_EXTENSIONS_EXTENSION_ERROR_UI_UTIL_H_
|
| +
|
| +#include <string>
|
| +
|
| +#include "base/callback.h"
|
| +#include "base/strings/string16.h"
|
| +
|
| +class Profile;
|
| +
|
| +namespace base {
|
| +class DictionaryValue;
|
| +}
|
| +
|
| +namespace extensions {
|
| +namespace error_ui_util {
|
| +
|
| +typedef base::Callback<void(const std::string&, const base::string16&)>
|
| + AddLocalizedStringCallback;
|
| +typedef base::Callback<void(const base::DictionaryValue&)>
|
| + JavascriptResponseCallback;
|
| +
|
| +void GetLocalizedValues(const AddLocalizedStringCallback& add_string);
|
| +
|
| +void HandleRequestFileSource(const base::DictionaryValue* args,
|
| + Profile* profile,
|
| + const JavascriptResponseCallback& response);
|
| +
|
| +void HandleOpenDevTools(const base::DictionaryValue* args);
|
| +
|
| +} // namespace error_ui_util
|
| +} // namespace extensions
|
| +
|
| +#endif // CHROME_BROWSER_UI_WEBUI_EXTENSIONS_EXTENSION_ERROR_UI_UTIL_H_
|
|
|