Chromium Code Reviews| 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_ |