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

Side by Side Diff: chrome/browser/ui/app_list/app_list_service_impl.cc

Issue 1967773004: Fix include path for moved thread_task_runner_handle.h header in chrome/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: merge up to r393013 Created 4 years, 7 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/ui/app_list/app_list_service_impl.h" 5 #include "chrome/browser/ui/app_list/app_list_service_impl.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
11 11
12 #include "base/bind.h" 12 #include "base/bind.h"
13 #include "base/command_line.h" 13 #include "base/command_line.h"
14 #include "base/location.h" 14 #include "base/location.h"
15 #include "base/metrics/histogram.h" 15 #include "base/metrics/histogram.h"
16 #include "base/single_thread_task_runner.h" 16 #include "base/single_thread_task_runner.h"
17 #include "base/strings/string16.h" 17 #include "base/strings/string16.h"
18 #include "base/thread_task_runner_handle.h" 18 #include "base/threading/thread_task_runner_handle.h"
19 #include "base/time/time.h" 19 #include "base/time/time.h"
20 #include "chrome/browser/browser_process.h" 20 #include "chrome/browser/browser_process.h"
21 #include "chrome/browser/browser_shutdown.h" 21 #include "chrome/browser/browser_shutdown.h"
22 #include "chrome/browser/profiles/profile_attributes_entry.h" 22 #include "chrome/browser/profiles/profile_attributes_entry.h"
23 #include "chrome/browser/profiles/profile_manager.h" 23 #include "chrome/browser/profiles/profile_manager.h"
24 #include "chrome/browser/ui/app_list/app_list_view_delegate.h" 24 #include "chrome/browser/ui/app_list/app_list_view_delegate.h"
25 #include "chrome/browser/ui/app_list/profile_loader.h" 25 #include "chrome/browser/ui/app_list/profile_loader.h"
26 #include "chrome/browser/ui/app_list/profile_store.h" 26 #include "chrome/browser/ui/app_list/profile_store.h"
27 #include "chrome/common/chrome_constants.h" 27 #include "chrome/common/chrome_constants.h"
28 #include "chrome/common/pref_names.h" 28 #include "chrome/common/pref_names.h"
(...skipping 422 matching lines...) Expand 10 before | Expand all | Expand 10 after
451 451
452 if (!base::ThreadTaskRunnerHandle::IsSet()) 452 if (!base::ThreadTaskRunnerHandle::IsSet())
453 return; // In a unit test. 453 return; // In a unit test.
454 454
455 // Send app list usage stats after a delay. 455 // Send app list usage stats after a delay.
456 const int kSendUsageStatsDelay = 5; 456 const int kSendUsageStatsDelay = 5;
457 base::ThreadTaskRunnerHandle::Get()->PostDelayedTask( 457 base::ThreadTaskRunnerHandle::Get()->PostDelayedTask(
458 FROM_HERE, base::Bind(&AppListServiceImpl::SendAppListStats), 458 FROM_HERE, base::Bind(&AppListServiceImpl::SendAppListStats),
459 base::TimeDelta::FromSeconds(kSendUsageStatsDelay)); 459 base::TimeDelta::FromSeconds(kSendUsageStatsDelay));
460 } 460 }
OLDNEW
« no previous file with comments | « chrome/browser/themes/theme_service.cc ('k') | chrome/browser/ui/app_list/app_list_shower_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698