Chromium Code Reviews| OLD | NEW |
|---|---|
| (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" | |
|
Dan Beam
2014/02/11 02:43:49
move both string and string16 includes to .cc
Dan Beam
2014/02/11 18:54:43
^ and this
Devlin
2014/02/11 19:26:45
Done.
Devlin
2014/02/11 19:26:45
Done.
| |
| 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 base::DictionaryValue&)> | |
| 23 JavascriptResponseCallback; | |
|
Dan Beam
2014/02/11 02:43:49
^ is this used outside this file?
Dan Beam
2014/02/11 18:54:43
and this
Devlin
2014/02/11 19:26:45
No, but I've been told before that doing this impr
| |
| 24 | |
|
Dan Beam
2014/02/11 02:43:49
doc comments
Dan Beam
2014/02/11 18:54:43
and this
Devlin
2014/02/11 19:26:45
Done.
| |
| 25 void HandleRequestFileSource(const base::DictionaryValue* args, | |
| 26 Profile* profile, | |
| 27 const JavascriptResponseCallback& response); | |
| 28 | |
| 29 void HandleOpenDevTools(const base::DictionaryValue* args); | |
| 30 | |
| 31 } // namespace error_ui_util | |
| 32 } // namespace extensions | |
| 33 | |
| 34 #endif // CHROME_BROWSER_UI_WEBUI_EXTENSIONS_EXTENSION_ERROR_UI_UTIL_H_ | |
| OLD | NEW |