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

Side by Side Diff: chrome/common/metrics_helpers.h

Issue 6672070: Move the remaining files in chrome\common to content\common. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 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 | « chrome/common/common_param_traits.h ('k') | chrome/common/native_web_keyboard_event.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 // This file defines a set of user experience metrics data recorded by 5 // This file defines a set of user experience metrics data recorded by
6 // the MetricsService. This is the unit of data that is sent to the server. 6 // the MetricsService. This is the unit of data that is sent to the server.
7 7
8 #ifndef CHROME_COMMON_METRICS_HELPERS_H_ 8 #ifndef CHROME_COMMON_METRICS_HELPERS_H_
9 #define CHROME_COMMON_METRICS_HELPERS_H_ 9 #define CHROME_COMMON_METRICS_HELPERS_H_
10 #pragma once 10 #pragma once
11 11
12 #include <map> 12 #include <map>
13 #include <string> 13 #include <string>
14 14
15 #include "base/basictypes.h" 15 #include "base/basictypes.h"
16 #include "base/metrics/histogram.h" 16 #include "base/metrics/histogram.h"
17 #include "base/scoped_ptr.h" 17 #include "base/scoped_ptr.h"
18 #include "base/time.h" 18 #include "base/time.h"
19 #include "chrome/common/page_transition_types.h" 19 #include "content/common/page_transition_types.h"
20 20
21 class GURL; 21 class GURL;
22 class MetricsLog; 22 class MetricsLog;
23 23
24 // This class provides base functionality for logging metrics data. 24 // This class provides base functionality for logging metrics data.
25 class MetricsLogBase { 25 class MetricsLogBase {
26 public: 26 public:
27 // Creates a new metrics log 27 // Creates a new metrics log
28 // client_id is the identifier for this profile on this installation 28 // client_id is the identifier for this profile on this installation
29 // session_id is an integer that's incremented on each application launch 29 // session_id is an integer that's incremented on each application launch
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 const base::Histogram& histogram, 266 const base::Histogram& histogram,
267 const base::Histogram::SampleSet& snapshot); 267 const base::Histogram::SampleSet& snapshot);
268 virtual void InconsistencyDetected(int problem); 268 virtual void InconsistencyDetected(int problem);
269 virtual void UniqueInconsistencyDetected(int problem); 269 virtual void UniqueInconsistencyDetected(int problem);
270 virtual void SnapshotProblemResolved(int amount); 270 virtual void SnapshotProblemResolved(int amount);
271 271
272 DISALLOW_COPY_AND_ASSIGN(MetricsServiceBase); 272 DISALLOW_COPY_AND_ASSIGN(MetricsServiceBase);
273 }; 273 };
274 274
275 #endif // CHROME_COMMON_METRICS_HELPERS_H_ 275 #endif // CHROME_COMMON_METRICS_HELPERS_H_
OLDNEW
« no previous file with comments | « chrome/common/common_param_traits.h ('k') | chrome/common/native_web_keyboard_event.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698