| Index: chrome/service/cloud_print/printer_job_handler_unittest.cc
|
| diff --git a/chrome/service/cloud_print/printer_job_handler_unittest.cc b/chrome/service/cloud_print/printer_job_handler_unittest.cc
|
| index 443b13390265eb8b2ecf2016ad20850506193838..0e4392927f27c2aaa160261910db8b08d9f8e6d0 100644
|
| --- a/chrome/service/cloud_print/printer_job_handler_unittest.cc
|
| +++ b/chrome/service/cloud_print/printer_job_handler_unittest.cc
|
| @@ -2,11 +2,14 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| +#include "chrome/service/cloud_print/printer_job_handler.h"
|
| +
|
| +#include <memory>
|
| +
|
| #include "base/files/file_path.h"
|
| #include "base/location.h"
|
| #include "base/md5.h"
|
| #include "base/memory/ref_counted.h"
|
| -#include "base/memory/scoped_ptr.h"
|
| #include "base/message_loop/message_loop.h"
|
| #include "base/single_thread_task_runner.h"
|
| #include "base/strings/stringprintf.h"
|
| @@ -15,7 +18,6 @@
|
| #include "chrome/service/cloud_print/cloud_print_service_helpers.h"
|
| #include "chrome/service/cloud_print/cloud_print_token_store.h"
|
| #include "chrome/service/cloud_print/print_system.h"
|
| -#include "chrome/service/cloud_print/printer_job_handler.h"
|
| #include "net/http/http_response_headers.h"
|
| #include "net/http/http_status_code.h"
|
| #include "net/url_request/test_url_fetcher_factory.h"
|
| @@ -282,13 +284,13 @@ class CloudPrintURLFetcherNoServiceProcessFactory
|
|
|
| class TestURLFetcherCallback {
|
| public:
|
| - scoped_ptr<net::FakeURLFetcher> CreateURLFetcher(
|
| + std::unique_ptr<net::FakeURLFetcher> CreateURLFetcher(
|
| const GURL& url,
|
| net::URLFetcherDelegate* d,
|
| const std::string& response_data,
|
| net::HttpStatusCode response_code,
|
| net::URLRequestStatus::Status status) {
|
| - scoped_ptr<net::FakeURLFetcher> fetcher(
|
| + std::unique_ptr<net::FakeURLFetcher> fetcher(
|
| new net::FakeURLFetcher(url, d, response_data, response_code, status));
|
| OnRequestCreate(url, fetcher.get());
|
| return fetcher;
|
|
|