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

Side by Side Diff: chrome_frame/metrics_service.cc

Issue 2776010: Move the crash metrics to the crash reproting lib to avoid a back dependency ... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 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 | « chrome_frame/crash_reporting/crash_reporting.gyp ('k') | no next file » | 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 5
6 //------------------------------------------------------------------------------ 6 //------------------------------------------------------------------------------
7 // Description of the life cycle of a instance of MetricsService. 7 // Description of the life cycle of a instance of MetricsService.
8 // 8 //
9 // OVERVIEW 9 // OVERVIEW
10 // 10 //
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 51
52 #include "base/file_version_info.h" 52 #include "base/file_version_info.h"
53 #include "base/string_util.h" 53 #include "base/string_util.h"
54 #include "base/thread.h" 54 #include "base/thread.h"
55 #include "base/utf_string_conversions.h" 55 #include "base/utf_string_conversions.h"
56 #include "chrome/app/chrome_version_info.h" 56 #include "chrome/app/chrome_version_info.h"
57 #include "chrome/installer/util/browser_distribution.h" 57 #include "chrome/installer/util/browser_distribution.h"
58 #include "chrome/installer/util/chrome_frame_distribution.h" 58 #include "chrome/installer/util/chrome_frame_distribution.h"
59 #include "chrome/installer/util/google_update_settings.h" 59 #include "chrome/installer/util/google_update_settings.h"
60 #include "chrome_frame/bind_status_callback_impl.h" 60 #include "chrome_frame/bind_status_callback_impl.h"
61 #include "chrome_frame/crash_metrics.h" 61 #include "chrome_frame/crash_reporting/crash_metrics.h"
62 #include "chrome_frame/utils.h" 62 #include "chrome_frame/utils.h"
63 #include "net/base/upload_data.h" 63 #include "net/base/upload_data.h"
64 #include "chrome_frame/urlmon_bind_status_callback.h" 64 #include "chrome_frame/urlmon_bind_status_callback.h"
65 65
66 using base::Time; 66 using base::Time;
67 using base::TimeDelta; 67 using base::TimeDelta;
68 68
69 static const char kMetricsType[] = 69 static const char kMetricsType[] =
70 "Content-Type: application/vnd.mozilla.metrics.bz2\r\n"; 70 "Content-Type: application/vnd.mozilla.metrics.bz2\r\n";
71 71
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after
458 if (!version_info->is_official_build()) 458 if (!version_info->is_official_build())
459 version.append("-devel"); 459 version.append("-devel");
460 return version; 460 return version;
461 } else { 461 } else {
462 NOTREACHED() << "Unable to retrieve version string."; 462 NOTREACHED() << "Unable to retrieve version string.";
463 } 463 }
464 464
465 return std::string(); 465 return std::string();
466 } 466 }
467 467
OLDNEW
« no previous file with comments | « chrome_frame/crash_reporting/crash_reporting.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698