Revert "Reland c91b178b07b0d - Delete dead signin code (SigninGlobalError)"
[chromium-blink-merge.git] / chromecast / base / android / dumpstate_writer.h
blob379d4e655bb51ad56626425c12f4d66124b8cba9
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_
8 #include <jni.h>
10 #include <string>
12 #include "base/macros.h"
14 namespace chromecast {
16 // JNI wrapper for DumpstateWriter.java.
17 class DumpstateWriter {
18 public:
19 static bool RegisterJni(JNIEnv* env);
20 static void AddDumpValue(const std::string& name, const std::string& value);
22 private:
23 DISALLOW_IMPLICIT_CONSTRUCTORS(DumpstateWriter);
26 } // namespace chromecast
28 #endif // CHROMECAST_BASE_ANDROID_DUMPSTATE_WRITER_H_