summaryrefslogtreecommitdiff
path: root/tools/aapt2/Debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/aapt2/Debug.h')
-rw-r--r--tools/aapt2/Debug.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/tools/aapt2/Debug.h b/tools/aapt2/Debug.h
index e2456c7f98b2..3c1ee4c0cdba 100644
--- a/tools/aapt2/Debug.h
+++ b/tools/aapt2/Debug.h
@@ -22,6 +22,7 @@
#include "Resource.h"
#include "ResourceTable.h"
+#include "text/Printer.h"
#include "xml/XmlDom.h"
namespace aapt {
@@ -31,13 +32,11 @@ struct DebugPrintTableOptions {
};
struct Debug {
- static void PrintTable(ResourceTable* table,
- const DebugPrintTableOptions& options = {});
- static void PrintStyleGraph(ResourceTable* table,
- const ResourceName& target_style);
+ static void PrintTable(const ResourceTable& table, const DebugPrintTableOptions& options,
+ text::Printer* printer);
+ static void PrintStyleGraph(ResourceTable* table, const ResourceName& target_style);
static void DumpHex(const void* data, size_t len);
- static void DumpXml(xml::XmlResource* doc);
- static std::string ToString(xml::XmlResource* doc);
+ static void DumpXml(const xml::XmlResource& doc);
};
} // namespace aapt