| OLD | NEW |
| 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 #ifndef COMPONENTS_SYNC_DRIVER_GLUE_CHROME_REPORT_UNRECOVERABLE_ERROR_H_ | 5 #ifndef COMPONENTS_SYNC_DRIVER_GLUE_CHROME_REPORT_UNRECOVERABLE_ERROR_H_ |
| 6 #define COMPONENTS_SYNC_DRIVER_GLUE_CHROME_REPORT_UNRECOVERABLE_ERROR_H_ | 6 #define COMPONENTS_SYNC_DRIVER_GLUE_CHROME_REPORT_UNRECOVERABLE_ERROR_H_ |
| 7 | 7 |
| 8 #include "components/version_info/version_info.h" | 8 #include "components/version_info/version_info.h" |
| 9 | 9 |
| 10 namespace browser_sync { | 10 namespace browser_sync { |
| 11 | 11 |
| 12 // Sends a minidump via breakpad for canary/dev channels at a hardcoded | 12 // Sends a minidump via breakpad for canary/dev channels at a hardcoded |
| 13 // sampling rate. Does nothing on beta/stable builds. | 13 // sampling rate. Does nothing on beta/stable builds. |
| 14 void ChromeReportUnrecoverableError(version_info::Channel channel); | 14 void ChromeReportUnrecoverableError(version_info::Channel channel); |
| 15 | 15 |
| 16 } // namespace browser_sync | 16 } // namespace browser_sync |
| 17 | 17 |
| 18 #endif // COMPONENTS_SYNC_DRIVER_GLUE_CHROME_REPORT_UNRECOVERABLE_ERROR_H_ | 18 #endif // COMPONENTS_SYNC_DRIVER_GLUE_CHROME_REPORT_UNRECOVERABLE_ERROR_H_ |
| OLD | NEW |