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

Side by Side Diff: chrome_frame/metrics_service.cc

Issue 10703037: Move StatisticsRecorder out of histogram.cc/h for further refactoring. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 //------------------------------------------------------------------------------ 5 //------------------------------------------------------------------------------
6 // Description of the life cycle of a instance of MetricsService. 6 // Description of the life cycle of a instance of MetricsService.
7 // 7 //
8 // OVERVIEW 8 // OVERVIEW
9 // 9 //
10 // A MetricsService instance is created at ChromeFrame startup in 10 // A MetricsService instance is created at ChromeFrame startup in
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 #include <atlwin.h> 43 #include <atlwin.h>
44 #include <objbase.h> 44 #include <objbase.h>
45 #include <windows.h> 45 #include <windows.h>
46 46
47 #if defined(USE_SYSTEM_LIBBZ2) 47 #if defined(USE_SYSTEM_LIBBZ2)
48 #include <bzlib.h> 48 #include <bzlib.h>
49 #else 49 #else
50 #include "third_party/bzip2/bzlib.h" 50 #include "third_party/bzip2/bzlib.h"
51 #endif 51 #endif
52 52
53 #include "base/metrics/statistics_recorder.h"
53 #include "base/string16.h" 54 #include "base/string16.h"
54 #include "base/string_util.h" 55 #include "base/string_util.h"
55 #include "base/stringprintf.h" 56 #include "base/stringprintf.h"
56 #include "base/synchronization/lock.h" 57 #include "base/synchronization/lock.h"
57 #include "base/string_number_conversions.h" 58 #include "base/string_number_conversions.h"
58 #include "base/utf_string_conversions.h" 59 #include "base/utf_string_conversions.h"
59 #include "base/win/scoped_comptr.h" 60 #include "base/win/scoped_comptr.h"
60 #include "chrome/common/chrome_version_info.h" 61 #include "chrome/common/chrome_version_info.h"
61 #include "chrome/common/metrics/metrics_log_base.h" 62 #include "chrome/common/metrics/metrics_log_base.h"
62 #include "chrome/common/metrics/metrics_log_manager.h" 63 #include "chrome/common/metrics/metrics_log_manager.h"
(...skipping 403 matching lines...) Expand 10 before | Expand all | Expand 10 after
466 version += "-F"; 467 version += "-F";
467 if (!version_info.IsOfficialBuild()) 468 if (!version_info.IsOfficialBuild())
468 version.append("-devel"); 469 version.append("-devel");
469 return version; 470 return version;
470 } else { 471 } else {
471 NOTREACHED() << "Unable to retrieve version string."; 472 NOTREACHED() << "Unable to retrieve version string.";
472 } 473 }
473 474
474 return std::string(); 475 return std::string();
475 } 476 }
OLDNEW
« no previous file with comments | « chrome/renderer/chrome_render_process_observer.cc ('k') | content/browser/browser_main_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698