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

Side by Side Diff: chrome/browser/extensions/api/autofill_private/autofill_private_event_router.h

Issue 1981053002: Implement DISALLOW_COPY_AND_ASSIGN using = delete. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove newly-unused variables Created 4 years, 7 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
OLDNEW
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 CHROME_BROWSER_EXTENSIONS_API_AUTOFILL_PRIVATE_AUTOFILL_PRIVATE_EVENT_RO UTER_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_AUTOFILL_PRIVATE_AUTOFILL_PRIVATE_EVENT_RO UTER_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_AUTOFILL_PRIVATE_AUTOFILL_PRIVATE_EVENT_RO UTER_H_ 6 #define CHROME_BROWSER_EXTENSIONS_API_AUTOFILL_PRIVATE_AUTOFILL_PRIVATE_EVENT_RO UTER_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "components/autofill/core/browser/personal_data_manager_observer.h" 9 #include "components/autofill/core/browser/personal_data_manager_observer.h"
10 #include "components/keyed_service/core/keyed_service.h" 10 #include "components/keyed_service/core/keyed_service.h"
(...skipping 30 matching lines...) Expand all
41 // PersonalDataManagerObserver implementation. 41 // PersonalDataManagerObserver implementation.
42 void OnPersonalDataChanged() override; 42 void OnPersonalDataChanged() override;
43 43
44 private: 44 private:
45 content::BrowserContext* context_; 45 content::BrowserContext* context_;
46 46
47 EventRouter* event_router_; 47 EventRouter* event_router_;
48 48
49 autofill::PersonalDataManager* personal_data_; 49 autofill::PersonalDataManager* personal_data_;
50 50
51 // Whether this class is currently listening for changes to |personal_data_|.
52 bool listening_;
53
54 DISALLOW_COPY_AND_ASSIGN(AutofillPrivateEventRouter); 51 DISALLOW_COPY_AND_ASSIGN(AutofillPrivateEventRouter);
55 }; 52 };
56 53
57 } // namespace extensions 54 } // namespace extensions
58 55
59 #endif // CHROME_BROWSER_EXTENSIONS_API_AUTOFILL_PRIVATE_AUTOFILL_PRIVATE_EVENT _ROUTER_H_ 56 #endif // CHROME_BROWSER_EXTENSIONS_API_AUTOFILL_PRIVATE_AUTOFILL_PRIVATE_EVENT _ROUTER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698