| Index: chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.cc
|
| diff --git a/chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.cc b/chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.cc
|
| index 61b69a2971bb6aa0b1b72187db90807f2d6e22d0..d21d63b191fb282dd5da2d36fa616a3fd9db40e0 100644
|
| --- a/chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.cc
|
| +++ b/chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.cc
|
| @@ -82,11 +82,6 @@ CupsPrintersHandler::CupsPrintersHandler(content::WebUI* webui)
|
| weak_factory_(this) {
|
| base::FilePath ppd_cache_path =
|
| profile_->GetPath().Append(FILE_PATH_LITERAL("PPDCache"));
|
| - if (!base::PathExists(ppd_cache_path) &&
|
| - !base::CreateDirectory(ppd_cache_path)) {
|
| - LOG(ERROR) << "Failed to create ppd cache directory "
|
| - << ppd_cache_path.MaybeAsASCII();
|
| - }
|
| ppd_provider_ = chromeos::printing::PpdProvider::Create(
|
| google_apis::GetAPIKey(), g_browser_process->system_request_context(),
|
| content::BrowserThread::GetTaskRunnerForThread(
|
|
|