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

Unified Diff: components/browsing_data/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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/browsing_data/DEPS ('k') | components/browsing_data/browsing_data_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/browsing_data/browsing_data_utils.h
diff --git a/components/browsing_data/browsing_data_utils.h b/components/browsing_data/browsing_data_utils.h
deleted file mode 100644
index 3211d76e3cad9be60f93d1ca03a36897d94cc25e..0000000000000000000000000000000000000000
--- a/components/browsing_data/browsing_data_utils.h
+++ /dev/null
@@ -1,47 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef COMPONENTS_BROWSING_DATA_BROWSING_DATA_UTILS_H_
-#define COMPONENTS_BROWSING_DATA_BROWSING_DATA_UTILS_H_
-
-#include "base/strings/string16.h"
-#include "base/time/time.h"
-
-namespace browsing_data {
-
-// Browsing data types as seen in the Android UI.
-// TODO(msramek): Reuse this enum as the canonical representation of the
-// user-facing browsing data types in the Desktop UI as well.
-//
-// A Java counterpart will be generated for this enum.
-// GENERATED_JAVA_ENUM_PACKAGE: org.chromium.chrome.browser
-enum BrowsingDataType {
- HISTORY,
- CACHE,
- COOKIES,
- PASSWORDS,
- FORM_DATA,
- BOOKMARKS,
- NUM_TYPES
-};
-
-// Time period ranges available when doing browsing data removals.
-//
-// A Java counterpart will be generated for this enum.
-// GENERATED_JAVA_ENUM_PACKAGE: org.chromium.chrome.browser
-enum TimePeriod {
- LAST_HOUR = 0,
- LAST_DAY,
- LAST_WEEK,
- FOUR_WEEKS,
- EVERYTHING,
- TIME_PERIOD_LAST = EVERYTHING
-};
-
-// Calculate the begin time for the deletion range specified by |time_period|.
-base::Time CalculateBeginDeleteTime(TimePeriod time_period);
-
-} // namespace browsing_data
-
-#endif // COMPONENTS_BROWSING_DATA_BROWSING_DATA_UTILS_H_
« no previous file with comments | « components/browsing_data/DEPS ('k') | components/browsing_data/browsing_data_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698