| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 #include "chrome/browser/metrics/variations/chrome_variations_service_client.h" | 5 #include "chrome/browser/metrics/variations/chrome_variations_service_client.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "build/build_config.h" |
| 8 #include "chrome/browser/browser_process.h" | 9 #include "chrome/browser/browser_process.h" |
| 9 #include "chrome/common/channel_info.h" | 10 #include "chrome/common/channel_info.h" |
| 10 #include "components/version_info/version_info.h" | 11 #include "components/version_info/version_info.h" |
| 11 #include "content/public/browser/browser_thread.h" | 12 #include "content/public/browser/browser_thread.h" |
| 12 | 13 |
| 13 #if !defined(OS_ANDROID) && !defined(OS_IOS) && !defined(OS_CHROMEOS) | 14 #if !defined(OS_ANDROID) && !defined(OS_IOS) && !defined(OS_CHROMEOS) |
| 14 #include "chrome/browser/upgrade_detector_impl.h" | 15 #include "chrome/browser/upgrade_detector_impl.h" |
| 15 #endif | 16 #endif |
| 16 | 17 |
| 17 #if defined(OS_CHROMEOS) | 18 #if defined(OS_CHROMEOS) |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 #if defined(OS_WIN) | 84 #if defined(OS_WIN) |
| 84 StartGoogleUpdateRegistrySync(); | 85 StartGoogleUpdateRegistrySync(); |
| 85 #endif | 86 #endif |
| 86 } | 87 } |
| 87 | 88 |
| 88 #if defined(OS_WIN) | 89 #if defined(OS_WIN) |
| 89 void ChromeVariationsServiceClient::StartGoogleUpdateRegistrySync() { | 90 void ChromeVariationsServiceClient::StartGoogleUpdateRegistrySync() { |
| 90 registry_syncer_.RequestRegistrySync(); | 91 registry_syncer_.RequestRegistrySync(); |
| 91 } | 92 } |
| 92 #endif | 93 #endif |
| OLD | NEW |