| Index: chrome/browser/chromeos/printing/ppd_provider_factory.cc
 | 
| diff --git a/chrome/browser/chromeos/printing/ppd_provider_factory.cc b/chrome/browser/chromeos/printing/ppd_provider_factory.cc
 | 
| new file mode 100644
 | 
| index 0000000000000000000000000000000000000000..4c06d9a7f3e72ecc17b9d737d103dbe18297a65e
 | 
| --- /dev/null
 | 
| +++ b/chrome/browser/chromeos/printing/ppd_provider_factory.cc
 | 
| @@ -0,0 +1,33 @@
 | 
| +// Copyright 2016 The Chromium Authors. All rights reserved.
 | 
| +// Use of this source code is governed by a BSD-style license that can be
 | 
| +// found in the LICENSE file.
 | 
| +
 | 
| +#include "chrome/browser/chromeos/printing/ppd_provider_factory.h"
 | 
| +
 | 
| +#include <memory>
 | 
| +
 | 
| +#include "base/files/file_path.h"
 | 
| +#include "chrome/browser/browser_process.h"
 | 
| +#include "chrome/browser/profiles/profile.h"
 | 
| +#include "chromeos/printing/ppd_cache.h"
 | 
| +#include "chromeos/printing/ppd_provider.h"
 | 
| +#include "content/public/browser/browser_thread.h"
 | 
| +#include "google_apis/google_api_keys.h"
 | 
| +#include "net/url_request/url_request_context_getter.h"
 | 
| +
 | 
| +namespace chromeos {
 | 
| +namespace printing {
 | 
| +
 | 
| +std::unique_ptr<PpdProvider> CreateProvider(Profile* profile) {
 | 
| +  base::FilePath ppd_cache_path =
 | 
| +      profile->GetPath().Append(FILE_PATH_LITERAL("PPDCache"));
 | 
| +
 | 
| +  return PpdProvider::Create(google_apis::GetAPIKey(),
 | 
| +                             g_browser_process->system_request_context(),
 | 
| +                             content::BrowserThread::GetTaskRunnerForThread(
 | 
| +                                 content::BrowserThread::FILE),
 | 
| +                             PpdCache::Create(ppd_cache_path));
 | 
| +}
 | 
| +
 | 
| +}  // namespace printing
 | 
| +}  // namespace chromeos
 | 
| 
 |