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

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: fix silly compile error Created 7 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/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 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 return new SqliteIntegrityTest(SqliteIntegrityTest::CRITICAL, 222 return new SqliteIntegrityTest(SqliteIntegrityTest::CRITICAL,
223 kSQLiteIntegrityWebTest, 223 kSQLiteIntegrityWebTest,
224 "Web Database", 224 "Web Database",
225 base::FilePath(kWebDataFilename)); 225 base::FilePath(kWebDataFilename));
226 } 226 }
227 227
228 DiagnosticsTest* MakeSqliteCookiesDbTest() { 228 DiagnosticsTest* MakeSqliteCookiesDbTest() {
229 return new SqliteIntegrityTest(SqliteIntegrityTest::CRITICAL, 229 return new SqliteIntegrityTest(SqliteIntegrityTest::CRITICAL,
230 kSQLiteIntegrityCookieTest, 230 kSQLiteIntegrityCookieTest,
231 "Cookies Database", 231 "Cookies Database",
232 base::FilePath(chrome::kCookieFilename)); 232 base::FilePath(content::kCookieFilename));
233 } 233 }
234 234
235 DiagnosticsTest* MakeSqliteHistoryDbTest() { 235 DiagnosticsTest* MakeSqliteHistoryDbTest() {
236 return new SqliteIntegrityTest(SqliteIntegrityTest::CRITICAL, 236 return new SqliteIntegrityTest(SqliteIntegrityTest::CRITICAL,
237 kSQLiteIntegrityHistoryTest, 237 kSQLiteIntegrityHistoryTest,
238 "History Database", 238 "History Database",
239 base::FilePath(chrome::kHistoryFilename)); 239 base::FilePath(chrome::kHistoryFilename));
240 } 240 }
241 241
242 DiagnosticsTest* MakeSqliteArchivedHistoryDbTest() { 242 DiagnosticsTest* MakeSqliteArchivedHistoryDbTest() {
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 285
286 DiagnosticsTest* MakeSqliteNssKeyDbTest() { 286 DiagnosticsTest* MakeSqliteNssKeyDbTest() {
287 base::FilePath home_dir = file_util::GetHomeDir(); 287 base::FilePath home_dir = file_util::GetHomeDir();
288 return new SqliteIntegrityTest(SqliteIntegrityTest::REMOVE_IF_CORRUPT, 288 return new SqliteIntegrityTest(SqliteIntegrityTest::REMOVE_IF_CORRUPT,
289 kSQLiteIntegrityNSSKeyTest, 289 kSQLiteIntegrityNSSKeyTest,
290 "NSS Key Database", 290 "NSS Key Database",
291 home_dir.Append(chromeos::kNssKeyDbPath)); 291 home_dir.Append(chromeos::kNssKeyDbPath));
292 } 292 }
293 #endif // defined(OS_CHROMEOS) 293 #endif // defined(OS_CHROMEOS)
294 } // namespace diagnostics 294 } // namespace diagnostics
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698