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

Side by Side Diff: chrome/browser/ui/webui/extensions/extension_error_ui_util.h

Issue 150663013: Integrate ErrorConsole with Apps Dev Tool (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 10 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_UI_WEBUI_EXTENSIONS_EXTENSION_ERROR_UI_UTIL_H_
6 #define CHROME_BROWSER_UI_WEBUI_EXTENSIONS_EXTENSION_ERROR_UI_UTIL_H_
7
8 #include <string>
9
10 #include "base/callback.h"
11 #include "base/strings/string16.h"
12
13 class Profile;
14
15 namespace base {
16 class DictionaryValue;
17 }
18
19 namespace extensions {
20 namespace error_ui_util {
21
22 typedef base::Callback<void(const std::string&, const base::string16&)>
23 AddLocalizedStringCallback;
24 typedef base::Callback<void(const base::DictionaryValue&)>
25 JavascriptResponseCallback;
26
27 void GetLocalizedValues(const AddLocalizedStringCallback& add_string);
28
29 void HandleRequestFileSource(const base::DictionaryValue* args,
30 Profile* profile,
31 const JavascriptResponseCallback& response);
32
33 void HandleOpenDevTools(const base::DictionaryValue* args);
34
35 } // namespace error_ui_util
36 } // namespace extensions
37
38 #endif // CHROME_BROWSER_UI_WEBUI_EXTENSIONS_EXTENSION_ERROR_UI_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698