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

Unified Diff: content/common/android/process_main.h

Issue 10444121: Added android_browser_process. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Init Created 8 years, 7 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: content/common/android/process_main.h
diff --git a/content/common/android/process_main.h b/content/common/android/process_main.h
new file mode 100644
index 0000000000000000000000000000000000000000..036a4628cdef9a80eb51b2cb8060ab0e81ffb152
--- /dev/null
+++ b/content/common/android/process_main.h
@@ -0,0 +1,21 @@
+// Copyright (c) 2012 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 CONTENT_COMMON_ANDROID_PROCESS_MAIN_H_
+#define CONTENT_COMMON_ANDROID_PROCESS_MAIN_H_
+#pragma once
+
+#include <jni.h>
+
+namespace content {
+
+class ContentMainDelegate;
+
+extern content::ContentMainDelegate* g_content_main_delegate;
jam 2012/06/01 22:04:55 we usually don't expose globals this way, both in
michaelbai 2012/06/01 23:27:20 Added InitContentMainDelegate in content/public/ap
+
+bool InitProcess(JNIEnv* env, jobject context);
jam 2012/06/01 22:04:55 should this file really be in content/common? isn'
michaelbai 2012/06/01 23:27:20 Right! this doesn't need, and could by merge with
+
+} // namespace content
+
+#endif // CONTENT_COMMON_ANDROID_PROCESS_MAIN_H_

Powered by Google App Engine
This is Rietveld 408576698