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

Side by Side Diff: content/browser/service_worker/service_worker_metrics.h

Issue 1254023006: Move ServiceWorker public headers to public/{web,platform}/modules/serviceworker (2/3) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 4 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_METRICS_H_ 5 #ifndef CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_METRICS_H_
6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_METRICS_H_ 6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_METRICS_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "content/browser/service_worker/service_worker_database.h" 9 #include "content/browser/service_worker/service_worker_database.h"
10 #include "content/common/service_worker/service_worker_types.h" 10 #include "content/common/service_worker/service_worker_types.h"
11 #include "third_party/WebKit/public/platform/WebServiceWorkerResponseError.h" 11 #include "third_party/WebKit/public/platform/modules/serviceworker/WebServiceWor kerResponseError.h"
12 12
13 class GURL; 13 class GURL;
14 14
15 namespace content { 15 namespace content {
16 16
17 class ServiceWorkerMetrics { 17 class ServiceWorkerMetrics {
18 public: 18 public:
19 enum ReadResponseResult { 19 enum ReadResponseResult {
20 READ_OK, 20 READ_OK,
21 READ_HEADERS_ERROR, 21 READ_HEADERS_ERROR,
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 // Records the mode of request that was fallbacked to the network. 151 // Records the mode of request that was fallbacked to the network.
152 static void RecordFallbackedRequestMode(FetchRequestMode mode); 152 static void RecordFallbackedRequestMode(FetchRequestMode mode);
153 153
154 private: 154 private:
155 DISALLOW_IMPLICIT_CONSTRUCTORS(ServiceWorkerMetrics); 155 DISALLOW_IMPLICIT_CONSTRUCTORS(ServiceWorkerMetrics);
156 }; 156 };
157 157
158 } // namespace content 158 } // namespace content
159 159
160 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_METRICS_H_ 160 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_METRICS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698