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

Side by Side Diff: chrome/browser/browsing_data/passwords_counter.h

Issue 2127403002: Make browsing_data component a layered component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed output_name from components/browsing_data/content/BUILD.gn Created 4 years, 5 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 (c) 2015 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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_BROWSING_DATA_PASSWORDS_COUNTER_H_ 5 #ifndef CHROME_BROWSER_BROWSING_DATA_PASSWORDS_COUNTER_H_
6 #define CHROME_BROWSER_BROWSING_DATA_PASSWORDS_COUNTER_H_ 6 #define CHROME_BROWSER_BROWSING_DATA_PASSWORDS_COUNTER_H_
7 7
8 #include "components/browsing_data/counters/browsing_data_counter.h" 8 #include "components/browsing_data/core/counters/browsing_data_counter.h"
9 #include "components/password_manager/core/browser/password_store.h" 9 #include "components/password_manager/core/browser/password_store.h"
10 #include "components/password_manager/core/browser/password_store_consumer.h" 10 #include "components/password_manager/core/browser/password_store_consumer.h"
11 11
12 class Profile; 12 class Profile;
13 13
14 class PasswordsCounter : public browsing_data::BrowsingDataCounter, 14 class PasswordsCounter : public browsing_data::BrowsingDataCounter,
15 public password_manager::PasswordStoreConsumer, 15 public password_manager::PasswordStoreConsumer,
16 public password_manager::PasswordStore::Observer { 16 public password_manager::PasswordStore::Observer {
17 public: 17 public:
18 explicit PasswordsCounter(Profile* profile); 18 explicit PasswordsCounter(Profile* profile);
(...skipping 14 matching lines...) Expand all
33 33
34 // Called when the contents of the password store change. Triggers new 34 // Called when the contents of the password store change. Triggers new
35 // counting. 35 // counting.
36 void OnLoginsChanged( 36 void OnLoginsChanged(
37 const password_manager::PasswordStoreChangeList& changes) override; 37 const password_manager::PasswordStoreChangeList& changes) override;
38 38
39 void Count() override; 39 void Count() override;
40 }; 40 };
41 41
42 #endif // CHROME_BROWSER_BROWSING_DATA_PASSWORDS_COUNTER_H_ 42 #endif // CHROME_BROWSER_BROWSING_DATA_PASSWORDS_COUNTER_H_
OLDNEW
« no previous file with comments | « chrome/browser/browsing_data/media_licenses_counter_browsertest.cc ('k') | chrome/browser/browsing_data/passwords_counter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698