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

Side by Side Diff: chrome/browser/predictors/predictor_database.cc

Issue 2299993004: Migrate chrome/browser files to histogram_macros.h includes. (Closed)
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 "chrome/browser/predictors/predictor_database.h" 5 #include "chrome/browser/predictors/predictor_database.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
11 #include "base/files/file_util.h" 11 #include "base/files/file_util.h"
12 #include "base/logging.h" 12 #include "base/logging.h"
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "base/metrics/histogram.h" 14 #include "base/metrics/histogram_macros.h"
15 #include "base/strings/stringprintf.h" 15 #include "base/strings/stringprintf.h"
16 #include "chrome/browser/predictors/autocomplete_action_predictor_table.h" 16 #include "chrome/browser/predictors/autocomplete_action_predictor_table.h"
17 #include "chrome/browser/predictors/resource_prefetch_predictor.h" 17 #include "chrome/browser/predictors/resource_prefetch_predictor.h"
18 #include "chrome/browser/predictors/resource_prefetch_predictor_tables.h" 18 #include "chrome/browser/predictors/resource_prefetch_predictor_tables.h"
19 #include "chrome/browser/prerender/prerender_field_trial.h" 19 #include "chrome/browser/prerender/prerender_field_trial.h"
20 #include "chrome/browser/profiles/profile.h" 20 #include "chrome/browser/profiles/profile.h"
21 #include "content/public/browser/browser_thread.h" 21 #include "content/public/browser/browser_thread.h"
22 #include "sql/connection.h" 22 #include "sql/connection.h"
23 23
24 using content::BrowserThread; 24 using content::BrowserThread;
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 scoped_refptr<ResourcePrefetchPredictorTables> 153 scoped_refptr<ResourcePrefetchPredictorTables>
154 PredictorDatabase::resource_prefetch_tables() { 154 PredictorDatabase::resource_prefetch_tables() {
155 return db_->resource_prefetch_tables_; 155 return db_->resource_prefetch_tables_;
156 } 156 }
157 157
158 sql::Connection* PredictorDatabase::GetDatabase() { 158 sql::Connection* PredictorDatabase::GetDatabase() {
159 return db_->db_.get(); 159 return db_->db_.get();
160 } 160 }
161 161
162 } // namespace predictors 162 } // namespace predictors
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698