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

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

Issue 313273003: ServiceWorker: Add UMA for ServiceWorkerDiskCache (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | content/browser/service_worker/service_worker_histograms.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_HISTOGRAMS_H_
6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_HISTOGRAMS_H_
7
8 #include "base/macros.h"
9
10 namespace content {
11
12 class ServiceWorkerHistograms {
13 public:
14 static void CountInitDiskCacheResult(bool result);
15
16 enum ReadResponseResult {
michaeln 2014/06/05 22:24:10 nit: style guide says to put enums before methods
nhiroki 2014/06/05 23:55:07 Done.
17 READ_OK,
18 READ_HEADERS_ERROR,
19 READ_DATA_ERROR,
20 NUM_READ_RESPONSE_RESULT_TYPES,
21 };
22 static void CountReadResponseResult(ReadResponseResult result);
23
24 enum WriteResponseResult {
25 WRITE_OK,
26 WRITE_HEADERS_ERROR,
27 WRITE_DATA_ERROR,
28 NUM_WRITE_RESPONSE_RESULT_TYPES,
29 };
30 static void CountWriteResponseResult(WriteResponseResult result);
31
32 private:
33 DISALLOW_IMPLICIT_CONSTRUCTORS(ServiceWorkerHistograms);
34 };
35
36 } // namespace content
37
38 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_HISTOGRAMS_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/service_worker/service_worker_histograms.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698