OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef COMPONENTS_OPEN_FROM_CLIPBOARD_CLIPBOARD_RECENT_CONTENT_IOS_H_ | 5 #ifndef COMPONENTS_OPEN_FROM_CLIPBOARD_CLIPBOARD_RECENT_CONTENT_IOS_H_ |
6 #define COMPONENTS_OPEN_FROM_CLIPBOARD_CLIPBOARD_RECENT_CONTENT_IOS_H_ | 6 #define COMPONENTS_OPEN_FROM_CLIPBOARD_CLIPBOARD_RECENT_CONTENT_IOS_H_ |
7 | 7 |
8 #include "base/mac/scoped_nsobject.h" | 8 #include "base/mac/scoped_nsobject.h" |
| 9 #include "base/macros.h" |
9 #include "base/time/time.h" | 10 #include "base/time/time.h" |
10 #include "components/open_from_clipboard/clipboard_recent_content.h" | 11 #include "components/open_from_clipboard/clipboard_recent_content.h" |
11 #include "url/gurl.h" | 12 #include "url/gurl.h" |
12 | 13 |
13 @class NSDate; | 14 @class NSDate; |
14 @class NSUserDefaults; | 15 @class NSUserDefaults; |
15 @class PasteboardNotificationListenerBridge; | 16 @class PasteboardNotificationListenerBridge; |
16 | 17 |
17 class ClipboardRecentContentIOSTest; | 18 class ClipboardRecentContentIOSTest; |
18 | 19 |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 base::scoped_nsobject<PasteboardNotificationListenerBridge> | 80 base::scoped_nsobject<PasteboardNotificationListenerBridge> |
80 notification_bridge_; | 81 notification_bridge_; |
81 // The user defaults from the app group used to optimize the pasteboard change | 82 // The user defaults from the app group used to optimize the pasteboard change |
82 // detection. | 83 // detection. |
83 base::scoped_nsobject<NSUserDefaults> shared_user_defaults_; | 84 base::scoped_nsobject<NSUserDefaults> shared_user_defaults_; |
84 | 85 |
85 DISALLOW_COPY_AND_ASSIGN(ClipboardRecentContentIOS); | 86 DISALLOW_COPY_AND_ASSIGN(ClipboardRecentContentIOS); |
86 }; | 87 }; |
87 | 88 |
88 #endif // COMPONENTS_OPEN_FROM_CLIPBOARD_CLIPBOARD_RECENT_CONTENT_IOS_H_ | 89 #endif // COMPONENTS_OPEN_FROM_CLIPBOARD_CLIPBOARD_RECENT_CONTENT_IOS_H_ |
OLD | NEW |