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

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: compile gdi. 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 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 return new SqliteIntegrityTest(true, 189 return new SqliteIntegrityTest(true,
190 kSQLiteIntegrityWebTest, 190 kSQLiteIntegrityWebTest,
191 "Web Database", 191 "Web Database",
192 base::FilePath(kWebDataFilename)); 192 base::FilePath(kWebDataFilename));
193 } 193 }
194 194
195 DiagnosticsTest* MakeSqliteCookiesDbTest() { 195 DiagnosticsTest* MakeSqliteCookiesDbTest() {
196 return new SqliteIntegrityTest(true, 196 return new SqliteIntegrityTest(true,
197 kSQLiteIntegrityCookieTest, 197 kSQLiteIntegrityCookieTest,
198 "Cookies Database", 198 "Cookies Database",
199 base::FilePath(chrome::kCookieFilename)); 199 base::FilePath(content::kCookieFilename));
200 } 200 }
201 201
202 DiagnosticsTest* MakeSqliteHistoryDbTest() { 202 DiagnosticsTest* MakeSqliteHistoryDbTest() {
203 return new SqliteIntegrityTest(true, 203 return new SqliteIntegrityTest(true,
204 kSQLiteIntegrityHistoryTest, 204 kSQLiteIntegrityHistoryTest,
205 "History Database", 205 "History Database",
206 base::FilePath(chrome::kHistoryFilename)); 206 base::FilePath(chrome::kHistoryFilename));
207 } 207 }
208 208
209 DiagnosticsTest* MakeSqliteArchivedHistoryDbTest() { 209 DiagnosticsTest* MakeSqliteArchivedHistoryDbTest() {
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 252
253 DiagnosticsTest* MakeSqliteNssKeyDbTest() { 253 DiagnosticsTest* MakeSqliteNssKeyDbTest() {
254 base::FilePath home_dir = file_util::GetHomeDir(); 254 base::FilePath home_dir = file_util::GetHomeDir();
255 return new SqliteIntegrityTest(false, 255 return new SqliteIntegrityTest(false,
256 kSQLiteIntegrityNSSKeyTest, 256 kSQLiteIntegrityNSSKeyTest,
257 "NSS Key Database", 257 "NSS Key Database",
258 home_dir.Append(chromeos::kNssKeyDbPath)); 258 home_dir.Append(chromeos::kNssKeyDbPath));
259 } 259 }
260 #endif // defined(OS_CHROMEOS) 260 #endif // defined(OS_CHROMEOS)
261 } // namespace diagnostics 261 } // namespace diagnostics
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698