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

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

Issue 2610163002: PaymentApp: Implement InvokePaymentApp() in browser side. (Closed)
Patch Set: nhiroki's comments Created 3 years, 11 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 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 UNKNOWN = 14, // Used when event type is not known. 108 UNKNOWN = 14, // Used when event type is not known.
109 FOREIGN_FETCH = 15, 109 FOREIGN_FETCH = 15,
110 FETCH_WAITUNTIL = 16, 110 FETCH_WAITUNTIL = 16,
111 FOREIGN_FETCH_WAITUNTIL = 17, 111 FOREIGN_FETCH_WAITUNTIL = 17,
112 NAVIGATION_HINT_LINK_MOUSE_DOWN = 18, 112 NAVIGATION_HINT_LINK_MOUSE_DOWN = 18,
113 NAVIGATION_HINT_LINK_TAP_UNCONFIRMED = 19, 113 NAVIGATION_HINT_LINK_TAP_UNCONFIRMED = 19,
114 NAVIGATION_HINT_LINK_TAP_DOWN = 20, 114 NAVIGATION_HINT_LINK_TAP_DOWN = 20,
115 // Used when external consumers want to add a request to 115 // Used when external consumers want to add a request to
116 // ServiceWorkerVersion to keep it alive. 116 // ServiceWorkerVersion to keep it alive.
117 EXTERNAL_REQUEST = 21, 117 EXTERNAL_REQUEST = 21,
118 PAYMENT_REQUEST = 22,
118 // Add new events to record here. 119 // Add new events to record here.
119 NUM_TYPES 120 NUM_TYPES
120 }; 121 };
121 122
122 // Used for UMA. Append only. 123 // Used for UMA. Append only.
123 enum class Site { 124 enum class Site {
124 OTHER, // Obsolete for UMA. Use WITH_FETCH_HANDLER or 125 OTHER, // Obsolete for UMA. Use WITH_FETCH_HANDLER or
125 // WITHOUT_FETCH_HANDLER. 126 // WITHOUT_FETCH_HANDLER.
126 NEW_TAB_PAGE, 127 NEW_TAB_PAGE,
127 WITH_FETCH_HANDLER, 128 WITH_FETCH_HANDLER,
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 // navigation preload request is to be sent. 291 // navigation preload request is to be sent.
291 static void RecordNavigationPreloadRequestHeaderSize(size_t size); 292 static void RecordNavigationPreloadRequestHeaderSize(size_t size);
292 293
293 private: 294 private:
294 DISALLOW_IMPLICIT_CONSTRUCTORS(ServiceWorkerMetrics); 295 DISALLOW_IMPLICIT_CONSTRUCTORS(ServiceWorkerMetrics);
295 }; 296 };
296 297
297 } // namespace content 298 } // namespace content
298 299
299 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_METRICS_H_ 300 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_METRICS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698