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

Side by Side Diff: chrome/browser/diagnostics/sqlite_diagnostics.cc

Issue 492873002: Collapse fileapi, webkit_blob, webkit_database, quota, and webkit_common namespaces into single sto… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix chromeos build Created 6 years, 4 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 | Annotate | Revision Log
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/diagnostics/sqlite_diagnostics.h" 5 #include "chrome/browser/diagnostics/sqlite_diagnostics.h"
6 6
7 #include "base/base_paths.h" 7 #include "base/base_paths.h"
8 #include "base/file_util.h" 8 #include "base/file_util.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 200
201 } // namespace 201 } // namespace
202 202
203 DiagnosticsTest* MakeSqliteCookiesDbTest() { 203 DiagnosticsTest* MakeSqliteCookiesDbTest() {
204 return new SqliteIntegrityTest(SqliteIntegrityTest::CRITICAL, 204 return new SqliteIntegrityTest(SqliteIntegrityTest::CRITICAL,
205 DIAGNOSTICS_SQLITE_INTEGRITY_COOKIE_TEST, 205 DIAGNOSTICS_SQLITE_INTEGRITY_COOKIE_TEST,
206 base::FilePath(chrome::kCookieFilename)); 206 base::FilePath(chrome::kCookieFilename));
207 } 207 }
208 208
209 DiagnosticsTest* MakeSqliteWebDatabaseTrackerDbTest() { 209 DiagnosticsTest* MakeSqliteWebDatabaseTrackerDbTest() {
210 base::FilePath databases_dir(webkit_database::kDatabaseDirectoryName); 210 base::FilePath databases_dir(storage::kDatabaseDirectoryName);
211 base::FilePath tracker_db = 211 base::FilePath tracker_db =
212 databases_dir.Append(webkit_database::kTrackerDatabaseFileName); 212 databases_dir.Append(storage::kTrackerDatabaseFileName);
213 return new SqliteIntegrityTest( 213 return new SqliteIntegrityTest(
214 SqliteIntegrityTest::NO_FLAGS_SET, 214 SqliteIntegrityTest::NO_FLAGS_SET,
215 DIAGNOSTICS_SQLITE_INTEGRITY_DATABASE_TRACKER_TEST, 215 DIAGNOSTICS_SQLITE_INTEGRITY_DATABASE_TRACKER_TEST,
216 tracker_db); 216 tracker_db);
217 } 217 }
218 218
219 DiagnosticsTest* MakeSqliteHistoryDbTest() { 219 DiagnosticsTest* MakeSqliteHistoryDbTest() {
220 return new SqliteIntegrityTest(SqliteIntegrityTest::CRITICAL, 220 return new SqliteIntegrityTest(SqliteIntegrityTest::CRITICAL,
221 DIAGNOSTICS_SQLITE_INTEGRITY_HISTORY_TEST, 221 DIAGNOSTICS_SQLITE_INTEGRITY_HISTORY_TEST,
222 base::FilePath(chrome::kHistoryFilename)); 222 base::FilePath(chrome::kHistoryFilename));
(...skipping 23 matching lines...) Expand all
246 base::FilePath(chrome::kThumbnailsFilename)); 246 base::FilePath(chrome::kThumbnailsFilename));
247 } 247 }
248 248
249 DiagnosticsTest* MakeSqliteWebDataDbTest() { 249 DiagnosticsTest* MakeSqliteWebDataDbTest() {
250 return new SqliteIntegrityTest(SqliteIntegrityTest::CRITICAL, 250 return new SqliteIntegrityTest(SqliteIntegrityTest::CRITICAL,
251 DIAGNOSTICS_SQLITE_INTEGRITY_WEB_DATA_TEST, 251 DIAGNOSTICS_SQLITE_INTEGRITY_WEB_DATA_TEST,
252 base::FilePath(kWebDataFilename)); 252 base::FilePath(kWebDataFilename));
253 } 253 }
254 254
255 } // namespace diagnostics 255 } // namespace diagnostics
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698