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

Side by Side Diff: components/history/core/browser/web_history_service.cc

Issue 2293583002: Change includes of histogram.h to histogram_macros.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 3 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/history/core/browser/web_history_service.h" 5 #include "components/history/core/browser/web_history_service.h"
6 6
7 #include <memory> 7 #include <memory>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
11 #include "base/json/json_reader.h" 11 #include "base/json/json_reader.h"
12 #include "base/json/json_writer.h" 12 #include "base/json/json_writer.h"
13 #include "base/metrics/histogram.h" 13 #include "base/metrics/histogram_macros.h"
14 #include "base/optional.h" 14 #include "base/optional.h"
15 #include "base/stl_util.h" 15 #include "base/stl_util.h"
16 #include "base/strings/string_number_conversions.h" 16 #include "base/strings/string_number_conversions.h"
17 #include "base/strings/utf_string_conversions.h" 17 #include "base/strings/utf_string_conversions.h"
18 #include "base/values.h" 18 #include "base/values.h"
19 #include "components/history/core/browser/history_service_observer.h" 19 #include "components/history/core/browser/history_service_observer.h"
20 #include "components/history/core/browser/web_history_service_observer.h" 20 #include "components/history/core/browser/web_history_service_observer.h"
21 #include "components/signin/core/browser/signin_manager.h" 21 #include "components/signin/core/browser/signin_manager.h"
22 #include "components/sync/driver/sync_util.h" 22 #include "components/sync/driver/sync_util.h"
23 #include "components/sync/protocol/history_status.pb.h" 23 #include "components/sync/protocol/history_status.pb.h"
(...skipping 601 matching lines...) Expand 10 before | Expand all | Expand 10 after
625 if (success && request->GetResponseCode() == net::HTTP_OK) { 625 if (success && request->GetResponseCode() == net::HTTP_OK) {
626 sync_pb::HistoryStatusResponse history_status; 626 sync_pb::HistoryStatusResponse history_status;
627 if (history_status.ParseFromString(request->GetResponseBody())) 627 if (history_status.ParseFromString(request->GetResponseBody()))
628 has_other_forms_of_browsing_history = history_status.has_derived_data(); 628 has_other_forms_of_browsing_history = history_status.has_derived_data();
629 } 629 }
630 630
631 callback.Run(has_other_forms_of_browsing_history); 631 callback.Run(has_other_forms_of_browsing_history);
632 } 632 }
633 633
634 } // namespace history 634 } // namespace history
OLDNEW
« no previous file with comments | « components/history/core/browser/top_sites_database.cc ('k') | components/memory_pressure/memory_pressure_stats_collector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698