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

Side by Side Diff: components/suggestions/suggestions_service.cc

Issue 1970833002: Fix include path for moved thread_task_runner_handle.h header in components/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: merge up to r393009 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "components/suggestions/suggestions_service.h" 5 #include "components/suggestions/suggestions_service.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/feature_list.h" 10 #include "base/feature_list.h"
11 #include "base/location.h" 11 #include "base/location.h"
12 #include "base/metrics/histogram_macros.h" 12 #include "base/metrics/histogram_macros.h"
13 #include "base/metrics/sparse_histogram.h" 13 #include "base/metrics/sparse_histogram.h"
14 #include "base/strings/string_number_conversions.h" 14 #include "base/strings/string_number_conversions.h"
15 #include "base/strings/string_util.h" 15 #include "base/strings/string_util.h"
16 #include "base/strings/stringprintf.h" 16 #include "base/strings/stringprintf.h"
17 #include "base/thread_task_runner_handle.h" 17 #include "base/threading/thread_task_runner_handle.h"
18 #include "build/build_config.h" 18 #include "build/build_config.h"
19 #include "components/data_use_measurement/core/data_use_user_data.h" 19 #include "components/data_use_measurement/core/data_use_user_data.h"
20 #include "components/google/core/browser/google_util.h" 20 #include "components/google/core/browser/google_util.h"
21 #include "components/pref_registry/pref_registry_syncable.h" 21 #include "components/pref_registry/pref_registry_syncable.h"
22 #include "components/signin/core/browser/signin_manager_base.h" 22 #include "components/signin/core/browser/signin_manager_base.h"
23 #include "components/suggestions/blacklist_store.h" 23 #include "components/suggestions/blacklist_store.h"
24 #include "components/suggestions/image_manager.h" 24 #include "components/suggestions/image_manager.h"
25 #include "components/suggestions/suggestions_store.h" 25 #include "components/suggestions/suggestions_store.h"
26 #include "components/sync_driver/sync_service.h" 26 #include "components/sync_driver/sync_service.h"
27 #include "components/variations/net/variations_http_headers.h" 27 #include "components/variations/net/variations_http_headers.h"
(...skipping 534 matching lines...) Expand 10 before | Expand all | Expand 10 after
562 scheduling_delay_ = TimeDelta::FromSeconds(kDefaultSchedulingDelaySec); 562 scheduling_delay_ = TimeDelta::FromSeconds(kDefaultSchedulingDelaySec);
563 } else { 563 } else {
564 TimeDelta candidate_delay = 564 TimeDelta candidate_delay =
565 scheduling_delay_ * kSchedulingBackoffMultiplier; 565 scheduling_delay_ * kSchedulingBackoffMultiplier;
566 if (candidate_delay < TimeDelta::FromSeconds(kSchedulingMaxDelaySec)) 566 if (candidate_delay < TimeDelta::FromSeconds(kSchedulingMaxDelaySec))
567 scheduling_delay_ = candidate_delay; 567 scheduling_delay_ = candidate_delay;
568 } 568 }
569 } 569 }
570 570
571 } // namespace suggestions 571 } // namespace suggestions
OLDNEW
« no previous file with comments | « components/suggestions/image_manager_unittest.cc ('k') | components/sync_bookmarks/bookmark_data_type_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698