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

Side by Side Diff: content/renderer/manifest/manifest_debug_info.h

Issue 1932623003: DevTools: Introduce Page.getManifest remote debugging protocol method. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: browser test updated Created 4 years, 7 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 2016 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 CONTENT_RENDERER_MANIFEST_MANIFEST_DEBUG_INFO_H_
6 #define CONTENT_RENDERER_MANIFEST_MANIFEST_DEBUG_INFO_H_
7
8 #include <string>
9 #include <vector>
10
11 namespace content {
12
13 // ManifestDebugInfo contains debug information for the parsed manifest.
14 // It is created upon parsing and is available along the Manifest itself
15 // via ManifestManager. Parsing errors can be generic and critical, critical
16 // errors result in parser failure.
17 struct ManifestDebugInfo {
18 struct Error {
19 Error(const std::string& message, bool critical, int line, int column)
20 : message(message),
21 critical(critical),
22 line(line),
23 column(column) {}
24 std::string message;
25 bool critical;
26 int line;
27 int column;
28 };
29
30 ManifestDebugInfo();
31 ~ManifestDebugInfo();
32 std::vector<Error> errors;
33 std::string raw_data;
34 };
35
36 } // namespace content
37
38 #endif // CONTENT_RENDERER_MANIFEST_MANIFEST_DEBUG_INFO_H_
OLDNEW
« no previous file with comments | « content/renderer/devtools/devtools_agent.cc ('k') | content/renderer/manifest/manifest_debug_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698