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

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

Issue 2969463003: Move resource_request.h to content/public/common. (Closed)
Patch Set: Merge Created 3 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 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 <stddef.h> 8 #include <stddef.h>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
11 11
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "base/time/time.h" 13 #include "base/time/time.h"
14 #include "content/browser/service_worker/service_worker_context_request_handler. h" 14 #include "content/browser/service_worker/service_worker_context_request_handler. h"
15 #include "content/browser/service_worker/service_worker_database.h" 15 #include "content/browser/service_worker/service_worker_database.h"
16 #include "content/common/service_worker/embedded_worker.mojom.h" 16 #include "content/common/service_worker/embedded_worker.mojom.h"
17 #include "content/common/service_worker/service_worker_types.h" 17 #include "content/common/service_worker/service_worker_types.h"
18 #include "content/public/common/service_worker_modes.h"
18 #include "third_party/WebKit/public/platform/modules/serviceworker/WebServiceWor kerResponseError.h" 19 #include "third_party/WebKit/public/platform/modules/serviceworker/WebServiceWor kerResponseError.h"
19 #include "ui/base/page_transition_types.h" 20 #include "ui/base/page_transition_types.h"
20 21
21 class GURL; 22 class GURL;
22 23
23 namespace content { 24 namespace content {
24 25
25 enum class EmbeddedWorkerStatus; 26 enum class EmbeddedWorkerStatus;
26 27
27 class ServiceWorkerMetrics { 28 class ServiceWorkerMetrics {
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after
378 // TODO(falken): Remove after this is deprecated. https://crbug.com/737044 379 // TODO(falken): Remove after this is deprecated. https://crbug.com/737044
379 static void RecordUninstalledScriptImport(const GURL& url); 380 static void RecordUninstalledScriptImport(const GURL& url);
380 381
381 private: 382 private:
382 DISALLOW_IMPLICIT_CONSTRUCTORS(ServiceWorkerMetrics); 383 DISALLOW_IMPLICIT_CONSTRUCTORS(ServiceWorkerMetrics);
383 }; 384 };
384 385
385 } // namespace content 386 } // namespace content
386 387
387 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_METRICS_H_ 388 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_METRICS_H_
OLDNEW
« no previous file with comments | « content/browser/service_worker/service_worker_handle.cc ('k') | content/browser/service_worker/service_worker_metrics.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698