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

Unified Diff: chrome/browser/net/crl_set_fetcher.cc

Issue 12163003: Add FilePath to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/net/crl_set_fetcher.h ('k') | chrome/browser/net/net_log_logger.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/net/crl_set_fetcher.cc
diff --git a/chrome/browser/net/crl_set_fetcher.cc b/chrome/browser/net/crl_set_fetcher.cc
index 66302850dca4ea64422ed1b5acd964994e3b7253..9c869b37e2349d335e3af4b1c29f4b9045938f40 100644
--- a/chrome/browser/net/crl_set_fetcher.cc
+++ b/chrome/browser/net/crl_set_fetcher.cc
@@ -22,7 +22,7 @@ using content::BrowserThread;
CRLSetFetcher::CRLSetFetcher() : cus_(NULL) {}
-bool CRLSetFetcher::GetCRLSetFilePath(FilePath* path) const {
+bool CRLSetFetcher::GetCRLSetFilePath(base::FilePath* path) const {
bool ok = PathService::Get(chrome::DIR_USER_DATA, path);
if (!ok) {
NOTREACHED();
@@ -47,7 +47,7 @@ void CRLSetFetcher::StartInitialLoad(ComponentUpdateService* cus) {
void CRLSetFetcher::DoInitialLoadFromDisk() {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE));
- FilePath crl_set_file_path;
+ base::FilePath crl_set_file_path;
if (!GetCRLSetFilePath(&crl_set_file_path))
return;
@@ -69,7 +69,7 @@ void CRLSetFetcher::DoInitialLoadFromDisk() {
}
}
-void CRLSetFetcher::LoadFromDisk(FilePath path,
+void CRLSetFetcher::LoadFromDisk(base::FilePath path,
scoped_refptr<net::CRLSet>* out_crl_set) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE));
@@ -143,11 +143,12 @@ void CRLSetFetcher::OnUpdateError(int error) {
}
bool CRLSetFetcher::Install(base::DictionaryValue* manifest,
- const FilePath& unpack_path) {
+ const base::FilePath& unpack_path) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE));
- FilePath crl_set_file_path = unpack_path.Append(FILE_PATH_LITERAL("crl-set"));
- FilePath save_to;
+ base::FilePath crl_set_file_path =
+ unpack_path.Append(FILE_PATH_LITERAL("crl-set"));
+ base::FilePath save_to;
if (!GetCRLSetFilePath(&save_to))
return true;
« no previous file with comments | « chrome/browser/net/crl_set_fetcher.h ('k') | chrome/browser/net/net_log_logger.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698