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

Unified Diff: components/cronet/android/network_change_notifier_initer.h

Issue 2811813003: [Cronet] Move NetworkChangeNotifier initialization off UI thread (Closed)
Patch Set: fix NPE Created 3 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: components/cronet/android/network_change_notifier_initer.h
diff --git a/components/cronet/android/network_change_notifier_initer.h b/components/cronet/android/network_change_notifier_initer.h
new file mode 100644
index 0000000000000000000000000000000000000000..29d07011dee32259761df4768bd09cd45a914a54
--- /dev/null
+++ b/components/cronet/android/network_change_notifier_initer.h
@@ -0,0 +1,17 @@
+// Copyright 2014 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 COMPONENTS_CRONET_ANDROID_NETWORK_CHANGE_NOTIFIER_INITER_H_
+#define COMPONENTS_CRONET_ANDROID_NETWORK_CHANGE_NOTIFIER_INITER_H_
+
+#include <jni.h>
+
+namespace cronet {
+
+void NetworkChangeNotifierInit();
+bool NetworkChangeNotifierIniterRegisterJni(JNIEnv* env);
+
+} // namespace cronet
+
+#endif // COMPONENTS_CRONET_ANDROID_NETWORK_CHANGE_NOTIFIER_INITER_H_

Powered by Google App Engine
This is Rietveld 408576698