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

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

Issue 2691263002: Revert of Remove header dependencies from sequence_checker.h to sequenced_worker_pool.h (Closed)
Patch Set: 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"
9 #include "build/build_config.h" 8 #include "build/build_config.h"
10 #include "chrome/browser/browser_process.h" 9 #include "chrome/browser/browser_process.h"
11 #include "chrome/common/channel_info.h" 10 #include "chrome/common/channel_info.h"
12 #include "components/version_info/version_info.h" 11 #include "components/version_info/version_info.h"
13 #include "content/public/browser/browser_thread.h" 12 #include "content/public/browser/browser_thread.h"
14 13
15 #if defined(OS_WIN) 14 #if defined(OS_WIN)
16 #include "base/files/file_path.h" 15 #include "base/files/file_path.h"
17 #include "base/metrics/histogram_macros.h" 16 #include "base/metrics/histogram_macros.h"
18 #include "base/path_service.h" 17 #include "base/path_service.h"
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 #if defined(OS_WIN) 140 #if defined(OS_WIN)
142 // TODO(jwd): Remove this once we're confident most clients no longer have 141 // TODO(jwd): Remove this once we're confident most clients no longer have
143 // these labels (M57-M58 timeframe). 142 // these labels (M57-M58 timeframe).
144 // Do the work on a blocking pool thread, as chrome://profiler has shown that 143 // Do the work on a blocking pool thread, as chrome://profiler has shown that
145 // it can cause jank if done on the UI thrread. 144 // it can cause jank if done on the UI thrread.
146 content::BrowserThread::GetBlockingPool()->PostDelayedTask( 145 content::BrowserThread::GetBlockingPool()->PostDelayedTask(
147 FROM_HERE, base::Bind(&ClearGoogleUpdateRegistryLabels), 146 FROM_HERE, base::Bind(&ClearGoogleUpdateRegistryLabels),
148 base::TimeDelta::FromSeconds(5)); 147 base::TimeDelta::FromSeconds(5));
149 #endif 148 #endif
150 } 149 }
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