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

Side by Side Diff: chrome/browser/browsing_data/browsing_data_counter.cc

Issue 1658793002: Update chrome for new prefs location. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 #include "chrome/browser/browsing_data/browsing_data_counter.h" 5 #include "chrome/browser/browsing_data/browsing_data_counter.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/prefs/pref_service.h"
10 #include "chrome/browser/profiles/profile.h" 9 #include "chrome/browser/profiles/profile.h"
11 #include "chrome/common/pref_names.h" 10 #include "chrome/common/pref_names.h"
11 #include "components/prefs/pref_service.h"
12 12
13 BrowsingDataCounter::BrowsingDataCounter() {} 13 BrowsingDataCounter::BrowsingDataCounter() {}
14 14
15 BrowsingDataCounter::~BrowsingDataCounter() { 15 BrowsingDataCounter::~BrowsingDataCounter() {
16 } 16 }
17 17
18 void BrowsingDataCounter::Init( 18 void BrowsingDataCounter::Init(
19 Profile* profile, 19 Profile* profile,
20 const Callback& callback) { 20 const Callback& callback) {
21 DCHECK(!initialized_); 21 DCHECK(!initialized_);
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 } 95 }
96 96
97 bool BrowsingDataCounter::FinishedResult::Finished() const { 97 bool BrowsingDataCounter::FinishedResult::Finished() const {
98 return true; 98 return true;
99 } 99 }
100 100
101 BrowsingDataCounter::ResultInt 101 BrowsingDataCounter::ResultInt
102 BrowsingDataCounter::FinishedResult::Value() const { 102 BrowsingDataCounter::FinishedResult::Value() const {
103 return value_; 103 return value_;
104 } 104 }
OLDNEW
« no previous file with comments | « chrome/browser/browsing_data/browsing_data_counter.h ('k') | chrome/browser/browsing_data/browsing_data_counter_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698