Chromium Code Reviews| OLD | NEW |
|---|---|
| (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 struct ManifestDebugInfo { | |
|
mlamouri (slow - plz ping)
2016/04/29 11:14:12
style: can you add a comment explaining the purpos
pfeldman
2016/04/29 18:47:53
Done.
| |
| 14 struct Error { | |
| 15 Error(const std::string& message, int line, int column) | |
|
mlamouri (slow - plz ping)
2016/04/29 11:14:12
qq: could you take a && and do the same for Manife
pfeldman
2016/04/29 18:47:53
Ack.
| |
| 16 : message(message), | |
| 17 line(line), | |
| 18 column(column) {} | |
| 19 std::string message; | |
| 20 int line; | |
| 21 int column; | |
| 22 }; | |
| 23 | |
| 24 ManifestDebugInfo(); | |
| 25 ~ManifestDebugInfo(); | |
| 26 std::vector<Error> errors; | |
| 27 std::string raw_data; | |
| 28 }; | |
| 29 | |
| 30 } // namespace content | |
| 31 | |
| 32 #endif // CONTENT_RENDERER_MANIFEST_MANIFEST_DEBUG_INFO_H_ | |
| OLD | NEW |