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

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

Issue 23624002: Add UI for RuntimeErrors in the ErrorConsole (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@dc_ec_merge
Patch Set: Created 7 years, 3 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
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_WEBUI_EXTENSIONS_EXTENSION_ERROR_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_EXTENSIONS_EXTENSION_ERROR_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_EXTENSIONS_EXTENSION_ERROR_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_EXTENSIONS_EXTENSION_ERROR_HANDLER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 46
47 // Populate the results for a manifest file's content in response to the 47 // Populate the results for a manifest file's content in response to the
48 // "requestFileSource" call. Highlight the part of the manifest which 48 // "requestFileSource" call. Highlight the part of the manifest which
49 // corresponds to the given |key| and |specific| locations. Caller owns 49 // corresponds to the given |key| and |specific| locations. Caller owns
50 // |dict| and |contents|. 50 // |dict| and |contents|.
51 void GetManifestFileCallback(base::DictionaryValue* dict, 51 void GetManifestFileCallback(base::DictionaryValue* dict,
52 const std::string& key, 52 const std::string& key,
53 const std::string& specific, 53 const std::string& specific,
54 std::string* contents); 54 std::string* contents);
55 55
56 // Populate the results for a source file's content in response to the
57 // "requestFileSource" call. Highlight the part of the source which
58 // corresponds to the given |line_number|.
59 void GetSourceFileCallback(base::DictionaryValue* results,
60 int line_number,
61 std::string* contents);
62
56 // The profile with which this Handler is associated. 63 // The profile with which this Handler is associated.
57 Profile* profile_; 64 Profile* profile_;
58 65
59 DISALLOW_COPY_AND_ASSIGN(ExtensionErrorHandler); 66 DISALLOW_COPY_AND_ASSIGN(ExtensionErrorHandler);
60 }; 67 };
61 68
62 } // namespace extensions 69 } // namespace extensions
63 70
64 #endif // CHROME_BROWSER_UI_WEBUI_EXTENSIONS_EXTENSION_ERROR_HANDLER_H_ 71 #endif // CHROME_BROWSER_UI_WEBUI_EXTENSIONS_EXTENSION_ERROR_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698