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

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

Issue 12546016: Remove the Extensions URLRequestContext (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: android webview init fix merged in. Created 7 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 | 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/file_util.h" 7 #include "base/file_util.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/memory/singleton.h" 10 #include "base/memory/singleton.h"
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 DiagnosticsTest* MakeSqliteArchivedHistoryDbTest() { 212 DiagnosticsTest* MakeSqliteArchivedHistoryDbTest() {
213 return new SqliteIntegrityTest( 213 return new SqliteIntegrityTest(
214 SqliteIntegrityTest::NO_FLAGS_SET, 214 SqliteIntegrityTest::NO_FLAGS_SET,
215 DIAGNOSTICS_SQLITE_INTEGRITY_ARCHIVED_HISTORY_TEST, 215 DIAGNOSTICS_SQLITE_INTEGRITY_ARCHIVED_HISTORY_TEST,
216 base::FilePath(chrome::kArchivedHistoryFilename)); 216 base::FilePath(chrome::kArchivedHistoryFilename));
217 } 217 }
218 218
219 DiagnosticsTest* MakeSqliteCookiesDbTest() { 219 DiagnosticsTest* MakeSqliteCookiesDbTest() {
220 return new SqliteIntegrityTest(SqliteIntegrityTest::CRITICAL, 220 return new SqliteIntegrityTest(SqliteIntegrityTest::CRITICAL,
221 DIAGNOSTICS_SQLITE_INTEGRITY_COOKIE_TEST, 221 DIAGNOSTICS_SQLITE_INTEGRITY_COOKIE_TEST,
222 base::FilePath(chrome::kCookieFilename)); 222 base::FilePath(content::kCookieFilename));
223 } 223 }
224 224
225 DiagnosticsTest* MakeSqliteWebDatabaseTrackerDbTest() { 225 DiagnosticsTest* MakeSqliteWebDatabaseTrackerDbTest() {
226 base::FilePath databases_dir(webkit_database::kDatabaseDirectoryName); 226 base::FilePath databases_dir(webkit_database::kDatabaseDirectoryName);
227 base::FilePath tracker_db = 227 base::FilePath tracker_db =
228 databases_dir.Append(webkit_database::kTrackerDatabaseFileName); 228 databases_dir.Append(webkit_database::kTrackerDatabaseFileName);
229 return new SqliteIntegrityTest( 229 return new SqliteIntegrityTest(
230 SqliteIntegrityTest::NO_FLAGS_SET, 230 SqliteIntegrityTest::NO_FLAGS_SET,
231 DIAGNOSTICS_SQLITE_INTEGRITY_DATABASE_TRACKER_TEST, 231 DIAGNOSTICS_SQLITE_INTEGRITY_DATABASE_TRACKER_TEST,
232 tracker_db); 232 tracker_db);
(...skipping 27 matching lines...) Expand all
260 base::FilePath(chrome::kThumbnailsFilename)); 260 base::FilePath(chrome::kThumbnailsFilename));
261 } 261 }
262 262
263 DiagnosticsTest* MakeSqliteWebDataDbTest() { 263 DiagnosticsTest* MakeSqliteWebDataDbTest() {
264 return new SqliteIntegrityTest(SqliteIntegrityTest::CRITICAL, 264 return new SqliteIntegrityTest(SqliteIntegrityTest::CRITICAL,
265 DIAGNOSTICS_SQLITE_INTEGRITY_WEB_DATA_TEST, 265 DIAGNOSTICS_SQLITE_INTEGRITY_WEB_DATA_TEST,
266 base::FilePath(kWebDataFilename)); 266 base::FilePath(kWebDataFilename));
267 } 267 }
268 268
269 } // namespace diagnostics 269 } // namespace diagnostics
OLDNEW
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | chrome/browser/download/download_request_limiter_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698