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

Side by Side Diff: components/history/content/browser/history_database_helper.cc

Issue 849323002: Componentize HistoryDatabase (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix android compilation Created 5 years, 11 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
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "components/history/content/browser/history_database_helper.h"
6
7 #include "base/files/file_path.h"
8 #include "components/history/content/browser/download_constants_utils.h"
9 #include "components/history/core/browser/history_database_params.h"
10 #include "content/public/browser/download_interrupt_reasons.h"
11
12 namespace history {
13
14 HistoryDatabaseParams HistoryDatabaseParamsForPath(
15 const base::FilePath& history_dir) {
16 return HistoryDatabaseParams(
17 history_dir,
18 history::ToHistoryDownloadInterruptReason(
19 content::DOWNLOAD_INTERRUPT_REASON_NONE),
20 history::ToHistoryDownloadInterruptReason(
21 content::DOWNLOAD_INTERRUPT_REASON_CRASH));
22 }
23
24 } // namespace
OLDNEW
« no previous file with comments | « components/history/content/browser/history_database_helper.h ('k') | components/history/core/android/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698