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

Side by Side Diff: components/browsing_data/core/counters/browsing_data_counter.cc

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 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 #include "components/browsing_data/counters/browsing_data_counter.h" 5 #include "components/browsing_data/core/counters/browsing_data_counter.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/memory/ptr_util.h" 9 #include "base/memory/ptr_util.h"
10 #include "components/browsing_data/browsing_data_utils.h" 10 #include "components/browsing_data/core/browsing_data_utils.h"
11 #include "components/browsing_data/pref_names.h" 11 #include "components/browsing_data/core/pref_names.h"
12 #include "components/prefs/pref_service.h" 12 #include "components/prefs/pref_service.h"
13 13
14 namespace browsing_data { 14 namespace browsing_data {
15 15
16 BrowsingDataCounter::BrowsingDataCounter(const std::string& pref_name) 16 BrowsingDataCounter::BrowsingDataCounter(const std::string& pref_name)
17 : pref_name_(pref_name) {} 17 : pref_name_(pref_name) {}
18 18
19 BrowsingDataCounter::~BrowsingDataCounter() {} 19 BrowsingDataCounter::~BrowsingDataCounter() {}
20 20
21 void BrowsingDataCounter::Init(PrefService* pref_service, 21 void BrowsingDataCounter::Init(PrefService* pref_service,
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 bool BrowsingDataCounter::FinishedResult::Finished() const { 92 bool BrowsingDataCounter::FinishedResult::Finished() const {
93 return true; 93 return true;
94 } 94 }
95 95
96 BrowsingDataCounter::ResultInt BrowsingDataCounter::FinishedResult::Value() 96 BrowsingDataCounter::ResultInt BrowsingDataCounter::FinishedResult::Value()
97 const { 97 const {
98 return value_; 98 return value_;
99 } 99 }
100 100
101 } // namespace browsing_data 101 } // namespace browsing_data
OLDNEW
« no previous file with comments | « components/browsing_data/core/counters/browsing_data_counter.h ('k') | components/browsing_data/core/pref_names.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698