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

Side by Side Diff: chrome/browser/metrics/variations/chrome_variations_service_client.cc

Issue 2695823008: Add missing #include around sequenced_worker_pool.h in //chrome (Closed)
Patch Set: sync_websocket_impl & wizard_controller Created 3 years, 10 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
OLDNEW
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 "base/threading/sequenced_worker_pool.h"
8 #include "build/build_config.h" 9 #include "build/build_config.h"
9 #include "chrome/browser/browser_process.h" 10 #include "chrome/browser/browser_process.h"
10 #include "chrome/common/channel_info.h" 11 #include "chrome/common/channel_info.h"
11 #include "components/version_info/version_info.h" 12 #include "components/version_info/version_info.h"
12 #include "content/public/browser/browser_thread.h" 13 #include "content/public/browser/browser_thread.h"
13 14
14 #if defined(OS_WIN) 15 #if defined(OS_WIN)
15 #include "base/files/file_path.h" 16 #include "base/files/file_path.h"
16 #include "base/metrics/histogram_macros.h" 17 #include "base/metrics/histogram_macros.h"
17 #include "base/path_service.h" 18 #include "base/path_service.h"
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 #if defined(OS_WIN) 141 #if defined(OS_WIN)
141 // TODO(jwd): Remove this once we're confident most clients no longer have 142 // TODO(jwd): Remove this once we're confident most clients no longer have
142 // these labels (M57-M58 timeframe). 143 // these labels (M57-M58 timeframe).
143 // Do the work on a blocking pool thread, as chrome://profiler has shown that 144 // Do the work on a blocking pool thread, as chrome://profiler has shown that
144 // it can cause jank if done on the UI thrread. 145 // it can cause jank if done on the UI thrread.
145 content::BrowserThread::GetBlockingPool()->PostDelayedTask( 146 content::BrowserThread::GetBlockingPool()->PostDelayedTask(
146 FROM_HERE, base::Bind(&ClearGoogleUpdateRegistryLabels), 147 FROM_HERE, base::Bind(&ClearGoogleUpdateRegistryLabels),
147 base::TimeDelta::FromSeconds(5)); 148 base::TimeDelta::FromSeconds(5));
148 #endif 149 #endif
149 } 150 }
OLDNEW
« no previous file with comments | « chrome/browser/metrics/plugin_metrics_provider.h ('k') | chrome/browser/net/dns_probe_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698