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

Unified 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: Created 4 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: content/renderer/manifest/manifest_debug_info.h
diff --git a/content/renderer/manifest/manifest_debug_info.h b/content/renderer/manifest/manifest_debug_info.h
new file mode 100644
index 0000000000000000000000000000000000000000..c82eef9e160b66b1108aa3e0e43eec6a78405142
--- /dev/null
+++ b/content/renderer/manifest/manifest_debug_info.h
@@ -0,0 +1,32 @@
+// Copyright 2016 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 CONTENT_RENDERER_MANIFEST_MANIFEST_DEBUG_INFO_H_
+#define CONTENT_RENDERER_MANIFEST_MANIFEST_DEBUG_INFO_H_
+
+#include <string>
+#include <vector>
+
+namespace content {
+
+struct ManifestDebugInfo {
+ struct Error {
+ Error(const std::string& message, int line, int column)
+ : message(message),
+ line(line),
+ column(column) {}
+ std::string message;
+ int line;
+ int column;
+ };
+
+ ManifestDebugInfo();
+ ~ManifestDebugInfo();
+ std::vector<Error> errors;
+ std::string raw_data;
+};
+
+} // namespace content
+
+#endif // CONTENT_RENDERER_MANIFEST_MANIFEST_DEBUG_INFO_H_

Powered by Google App Engine
This is Rietveld 408576698