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

Side by Side Diff: components/offline_pages/core/background/resource_data_type.h

Issue 2857063002: Add a way to send the resource percentage signal to the RC. (Closed)
Patch Set: Turn off other metrics which might require tab helpers when background loading Created 3 years, 7 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
(Empty)
1 // Copyright 2017 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 // This type is used to communicate the type of a network request to the
6 // RequestCoordinator. We don't use content::ResourceType which is used by
7 // the network code because code from the content tree is not available to
8 // code in the components tree (RequestCoordinator).
9
10 #ifndef COMPONENTS_OFFLINE_PAGES_CORE_BACKGROUND_RESOURCE_DATA_TYPE_H_
11 #define COMPONENTS_OFFLINE_PAGES_CORE_BACKGROUND_RESOURCE_DATA_TYPE_H_
12
13 namespace offline_pages {
14
15 enum ResourceDataType {
Dmitry Titov 2017/05/18 02:28:10 It's simpler to move this enum into a proper class
Pete Williamson 2017/05/24 01:01:50 Since it is referenced in offliner.h, i moved it i
16 APPLICATION,
17 MEDIA,
18 EXAMPLE,
19 IMAGE,
20 MESSAGE,
21 MODEL,
22 MULTIPART,
23 TEXT_CSS,
24 TEXT_HTML,
25 TEXT_PLAIN,
26 TEXT_SCRIPT,
27 XHR,
28 OTHER,
29 RESOURCE_DATA_TYPE_COUNT,
30 };
31
32 } // namespace offline_pages
33
34 #endif // COMPONENTS_OFFLINE_PAGES_CORE_BACKGROUND_RESOURCE_DATA_TYPE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698