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

Side by Side Diff: chrome/browser/history/history_unittest_base.h

Issue 813503003: Move files from chrome/browser/history to components/history (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@favicon-owners
Patch Set: 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 (c) 2011 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 #ifndef CHROME_BROWSER_HISTORY_HISTORY_UNITTEST_BASE_H_
6 #define CHROME_BROWSER_HISTORY_HISTORY_UNITTEST_BASE_H_
7
8 #include "testing/gtest/include/gtest/gtest.h"
9
10 namespace base {
11 class FilePath;
12 }
13
14 namespace history {
15 // A base class for a history unit test. It provides the common test methods.
16 //
17 class HistoryUnitTestBase : public testing::Test {
18 public:
19 ~HistoryUnitTestBase() override;
20
21 // Executes the sql from the file |sql_path| in the database at |db_path|.
22 // |sql_path| is the SQL script file name with full path.
23 // |db_path| is the db file name with full path.
24 static void ExecuteSQLScript(const base::FilePath& sql_path,
25 const base::FilePath& db_path);
26
27 protected:
28 HistoryUnitTestBase();
29
30 private:
31 DISALLOW_COPY_AND_ASSIGN(HistoryUnitTestBase);
32 };
33
34 } // namespace history
35
36 #endif // CHROME_BROWSER_HISTORY_HISTORY_UNITTEST_BASE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698