OLD | NEW |
(Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_BROWSER_AUTOFILL_AUTOFILL_KEYSTONE_OBSERVER_MAC_H_ |
| 6 #define CHROME_BROWSER_AUTOFILL_AUTOFILL_KEYSTONE_OBSERVER_MAC_H_ |
| 7 |
| 8 #include "base/mac/scoped_nsobject.h" |
| 9 |
| 10 @class AutofillKeystoneBridge; |
| 11 |
| 12 namespace autofill { |
| 13 |
| 14 class AutofillKeystoneObserverMacDelegate; |
| 15 |
| 16 // Passes Cocoa based Keystone NSNotifications to its C++ delegate. The |
| 17 // delegate is expected to outlive this observer. |
| 18 class AutofillKeystoneObserverMac { |
| 19 public: |
| 20 AutofillKeystoneObserverMac(AutofillKeystoneObserverMacDelegate* delegate); |
| 21 ~AutofillKeystoneObserverMac(); |
| 22 |
| 23 private: |
| 24 base::scoped_nsobject<AutofillKeystoneBridge> bridge_; |
| 25 }; |
| 26 |
| 27 } // namespace autofill |
| 28 |
| 29 #endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_KEYSTONE_OBSERVER_MAC_H_ |
OLD | NEW |