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

Side by Side Diff: components/browsing_data/core/browsing_data_utils.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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 COMPONENTS_BROWSING_DATA_BROWSING_DATA_UTILS_H_ 5 #ifndef COMPONENTS_BROWSING_DATA_CORE_BROWSING_DATA_UTILS_H_
6 #define COMPONENTS_BROWSING_DATA_BROWSING_DATA_UTILS_H_ 6 #define COMPONENTS_BROWSING_DATA_CORE_BROWSING_DATA_UTILS_H_
7 7
8 #include "base/strings/string16.h" 8 #include "base/strings/string16.h"
9 #include "base/time/time.h" 9 #include "base/time/time.h"
10 10
11 namespace browsing_data { 11 namespace browsing_data {
12 12
13 // Browsing data types as seen in the Android UI. 13 // Browsing data types as seen in the Android UI.
14 // TODO(msramek): Reuse this enum as the canonical representation of the 14 // TODO(msramek): Reuse this enum as the canonical representation of the
15 // user-facing browsing data types in the Desktop UI as well. 15 // user-facing browsing data types in the Desktop UI as well.
16 // 16 //
(...skipping 20 matching lines...) Expand all
37 FOUR_WEEKS, 37 FOUR_WEEKS,
38 EVERYTHING, 38 EVERYTHING,
39 TIME_PERIOD_LAST = EVERYTHING 39 TIME_PERIOD_LAST = EVERYTHING
40 }; 40 };
41 41
42 // Calculate the begin time for the deletion range specified by |time_period|. 42 // Calculate the begin time for the deletion range specified by |time_period|.
43 base::Time CalculateBeginDeleteTime(TimePeriod time_period); 43 base::Time CalculateBeginDeleteTime(TimePeriod time_period);
44 44
45 } // namespace browsing_data 45 } // namespace browsing_data
46 46
47 #endif // COMPONENTS_BROWSING_DATA_BROWSING_DATA_UTILS_H_ 47 #endif // COMPONENTS_BROWSING_DATA_CORE_BROWSING_DATA_UTILS_H_
OLDNEW
« no previous file with comments | « components/browsing_data/core/DEPS ('k') | components/browsing_data/core/browsing_data_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698