Chromium Code Reviews| Index: ui/base/clipboard/clipboard_android.h |
| diff --git a/ui/base/clipboard/clipboard_android.h b/ui/base/clipboard/clipboard_android.h |
| index 8589e9c75587b2936c5ae3c27c9b2dd40b0e7cf7..0c586bfe678013c53fafe3d9e6f61b587120f653 100644 |
| --- a/ui/base/clipboard/clipboard_android.h |
| +++ b/ui/base/clipboard/clipboard_android.h |
| @@ -15,10 +15,22 @@ |
| #include "base/macros.h" |
| #include "base/time/time.h" |
| +class PrefService; |
| +class PrefRegistrySimple; |
| + |
| namespace ui { |
| class ClipboardAndroid : public Clipboard { |
| public: |
| + // Exported only so |
| + // chrome/browser/android/preferences/browser_prefs_android.cc |
|
Bernhard Bauer
2017/04/25 13:30:06
Nit: this comment seems like a bit of a layering v
Mark P
2017/04/25 18:51:21
In retrospect, I agree. This isn't worth a commen
|
| + // can call it. |
| + UI_BASE_EXPORT static void RegisterPrefs(PrefRegistrySimple* registry); |
| + |
| + // Called during startup when local state is available to store a pointer to |
| + // local_state in order to read and update prefs. |
| + UI_BASE_EXPORT void SetLocalState(PrefService* local_state); |
| + |
| // Called by Java when the Java Clipboard is notified that the clipboard has |
| // changed. |
| void OnPrimaryClipChanged(JNIEnv* env, |