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

Side by Side Diff: components/history/core/browser/visit_database.h

Issue 1143183002: Proof of concept implementation of context based history filtering. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 (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 #ifndef COMPONENTS_HISTORY_CORE_BROWSER_VISIT_DATABASE_H_ 5 #ifndef COMPONENTS_HISTORY_CORE_BROWSER_VISIT_DATABASE_H_
6 #define COMPONENTS_HISTORY_CORE_BROWSER_VISIT_DATABASE_H_ 6 #define COMPONENTS_HISTORY_CORE_BROWSER_VISIT_DATABASE_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "components/history/core/browser/history_types.h" 10 #include "components/history/core/browser/history_types.h"
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 // don't have visit_duration column yet. 213 // don't have visit_duration column yet.
214 bool MigrateVisitsWithoutDuration(); 214 bool MigrateVisitsWithoutDuration();
215 215
216 private: 216 private:
217 217
218 DISALLOW_COPY_AND_ASSIGN(VisitDatabase); 218 DISALLOW_COPY_AND_ASSIGN(VisitDatabase);
219 }; 219 };
220 220
221 // Rows, in order, of the visit table. 221 // Rows, in order, of the visit table.
222 #define HISTORY_VISIT_ROW_FIELDS \ 222 #define HISTORY_VISIT_ROW_FIELDS \
223 " id,url,visit_time,from_visit,transition,segment_id,visit_duration " 223 " id,url,visit_time,from_visit,transition,segment_id,visit_duration,context "
224 224
225 } // namespace history 225 } // namespace history
226 226
227 #endif // COMPONENTS_HISTORY_CORE_BROWSER_VISIT_DATABASE_H_ 227 #endif // COMPONENTS_HISTORY_CORE_BROWSER_VISIT_DATABASE_H_
OLDNEW
« no previous file with comments | « components/history/core/browser/url_row.cc ('k') | components/history/core/browser/visit_database.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698