Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(656)

Side by Side Diff: chrome/browser/autofill/autofill_keystone_observer_mac.h

Issue 334653006: mac: Prevent Address Book permissions dialog from erroneously appearing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: First. Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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 class AutofillKeystoneObserverMacDelegate;
13
14 namespace autofill {
15
16 // Passes Cocoa based Keystone NSNotifications to its C++ delegate.
17 class AutofillKeystoneObserverMac {
18 public:
19 AutofillKeystoneObserverMac(AutofillKeystoneObserverMacDelegate* delegate);
Ilya Sherman 2014/06/14 01:18:50 Please document lifetime expectations. (It seems
erikchen 2014/06/16 20:30:45 I've added the lifetime expectation to the comment
20 ~AutofillKeystoneObserverMac();
21
22 private:
23 base::scoped_nsobject<AutofillKeystoneBridge> bridge_;
24 };
Ilya Sherman 2014/06/14 01:18:50 I'm noticing that you're adding four new files for
erikchen 2014/06/16 20:30:45 Your suggestion is implementable, but it does not
Ilya Sherman 2014/06/17 03:29:16 Here's a more complete implementation along the li
erikchen 2014/06/17 18:14:27 :O Your implementation is much cleaner and shorter
25
26 } // namespace autofill
27
28 #endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_KEYSTONE_OBSERVER_MAC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698