1 // Copyright 2015 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.
5 #ifndef CHROMECAST_BASE_ANDROID_DUMPSTATE_WRITER_H_
6 #define CHROMECAST_BASE_ANDROID_DUMPSTATE_WRITER_H_
12 #include "base/macros.h"
14 namespace chromecast
{
16 // JNI wrapper for DumpstateWriter.java.
17 class DumpstateWriter
{
19 static bool RegisterJni(JNIEnv
* env
);
20 static void AddDumpValue(const std::string
& name
, const std::string
& value
);
23 DISALLOW_IMPLICIT_CONSTRUCTORS(DumpstateWriter
);
26 } // namespace chromecast
28 #endif // CHROMECAST_BASE_ANDROID_DUMPSTATE_WRITER_H_