| Index: content/public/browser/android/java_interfaces.h
|
| diff --git a/content/public/browser/android/java_interfaces.h b/content/public/browser/android/java_interfaces.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..aa4973d34a915f44cee0b89feb10d4481a252307
|
| --- /dev/null
|
| +++ b/content/public/browser/android/java_interfaces.h
|
| @@ -0,0 +1,24 @@
|
| +// Copyright 2016 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_PUBLIC_BROWSER_ANDROID_JAVA_INTERFACES_H_
|
| +#define CONTENT_PUBLIC_BROWSER_ANDROID_JAVA_INTERFACES_H_
|
| +
|
| +#include "content/common/content_export.h"
|
| +
|
| +namespace shell {
|
| +class InterfaceProvider;
|
| +}
|
| +
|
| +namespace content {
|
| +
|
| +// Returns an InterfaceProvider for global Java-implemented interfaces.
|
| +// This provides access to interfaces implemented in Java in the browser process
|
| +// to C++ code in the browser process. This and the returned InterfaceProvider
|
| +// may only be used on the UI thread.
|
| +CONTENT_EXPORT shell::InterfaceProvider* GetGlobalJavaInterfaces();
|
| +
|
| +} // namespace content
|
| +
|
| +#endif // CONTENT_PUBLIC_BROWSER_ANDROID_JAVA_INTERFACES_H_
|
|
|