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

Side by Side Diff: components/offline_pages/background/offliner_policy_utils.h

Issue 2489443002: Move all components/offline_pages/ files into component/offline_pages/core (Closed)
Patch Set: rebase Created 4 years 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef COMPONENTS_OFFLINE_PAGES_BACKGROUND_OFFLINER_POLICY_UTILS_H_
6 #define COMPONENTS_OFFLINE_PAGES_BACKGROUND_OFFLINER_POLICY_UTILS_H_
7
8 namespace offline_pages {
9
10 class OfflinerPolicy;
11 class SavePageRequest;
12
13 class OfflinerPolicyUtils {
14 public:
15 enum class RequestExpirationStatus {
16 VALID,
17 EXPIRED,
18 START_COUNT_EXCEEDED,
19 COMPLETION_COUNT_EXCEEDED,
20 };
21
22 static RequestExpirationStatus CheckRequestExpirationStatus(
23 const SavePageRequest* request,
24 const OfflinerPolicy* policy);
25 };
26
27 } // namespace offline_pages
28
29 #endif // COMPONENTS_OFFLINE_PAGES_BACKGROUND_OFFLINER_POLICY_UTILS_H_
OLDNEW
« no previous file with comments | « components/offline_pages/background/offliner_policy.h ('k') | components/offline_pages/background/offliner_policy_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698