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

Unified Diff: sync/android/sync_jni_registrar.h

Issue 1247853007: [Sync] Add auto-generated ModelType in Java. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Trim down to only the additions. Created 5 years, 5 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: sync/android/sync_jni_registrar.h
diff --git a/media/base/media_permission.cc b/sync/android/sync_jni_registrar.h
similarity index 51%
copy from media/base/media_permission.cc
copy to sync/android/sync_jni_registrar.h
index 739e4454ae76be702c1ddde201fc9680575d9c9e..fc72a96126de99258ecac1d96c4e09578afee489 100644
--- a/media/base/media_permission.cc
+++ b/sync/android/sync_jni_registrar.h
@@ -2,14 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "media/base/media_permission.h"
+#ifndef SYNC_JNI_REGISTRAR_H_
+#define SYNC_JNI_REGISTRAR_H_
-namespace media {
+#include <jni.h>
-MediaPermission::MediaPermission() {
-}
+namespace syncer {
+
+bool RegisterSyncJni(JNIEnv* env);
-MediaPermission::~MediaPermission() {
}
-} // namespace media
+#endif // SYNC_JNI_REGISTRAR_H_

Powered by Google App Engine
This is Rietveld 408576698