Chromium Code Reviews| Index: base/android/library_loader/library_process_type_list.h |
| diff --git a/base/android/library_loader/library_process_type_list.h b/base/android/library_loader/library_process_type_list.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..fa416871933dab6b29e7c118481eab6f1fcf5391 |
| --- /dev/null |
| +++ b/base/android/library_loader/library_process_type_list.h |
| @@ -0,0 +1,19 @@ |
| +// Copyright 2015 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. |
| + |
| +// This file intentionally does not have header guards, it's included |
| +// inside a macro to generate enum values. |
| + |
| +// The LibraryLoad has been initialized. |
|
Ted C
2015/02/06 01:37:43
has [not]
michaelbai
2015/02/10 05:17:31
Done.
|
| +LIBRARY_PROCESS_TYPE(UNINITIALIZED, 0) |
| + |
| +// Shared library is running in browser process. |
| +LIBRARY_PROCESS_TYPE(BROWSER, 1) |
| + |
| +// Shared library is running in child process. |
| +LIBRARY_PROCESS_TYPE(CHILD, 2) |
|
Ted C
2015/02/06 01:37:43
Can this be shared with WebView or is it specific
Peter Beverloo
2015/02/06 11:29:49
As a drive-by, I'm not too fussed about base/ (or
michaelbai
2015/02/06 17:29:33
It is not shared with WebView as it has one proces
michaelbai
2015/02/06 17:29:33
We need to know the process type because the JNI r
|
| + |
| +// Shared library is running in webview process. |
| +LIBRARY_PROCESS_TYPE(WEBVIEW, 4) |
| + |