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

Side by Side Diff: chromeos/printing/ppd_cache_unittest.cc

Issue 2598963005: Include-what-you-use for WrapUnique/MakeUnique. (Closed)
Patch Set: restore order of includes in x11_topmost_window_finder_interactive_uitest.cc Created 3 years, 12 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 <utility> 5 #include <utility>
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/files/file_util.h" 8 #include "base/files/file_util.h"
9 #include "base/files/scoped_temp_dir.h" 9 #include "base/files/scoped_temp_dir.h"
10 #include "base/hash.h" 10 #include "base/hash.h"
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/memory/ptr_util.h"
12 #include "base/message_loop/message_loop.h" 13 #include "base/message_loop/message_loop.h"
13 #include "base/run_loop.h" 14 #include "base/run_loop.h"
14 #include "base/single_thread_task_runner.h" 15 #include "base/single_thread_task_runner.h"
15 #include "base/threading/thread_task_runner_handle.h" 16 #include "base/threading/thread_task_runner_handle.h"
16 #include "chromeos/printing/ppd_cache.h" 17 #include "chromeos/printing/ppd_cache.h"
17 #include "net/url_request/test_url_request_interceptor.h" 18 #include "net/url_request/test_url_request_interceptor.h"
18 #include "net/url_request/url_request_test_util.h" 19 #include "net/url_request/url_request_test_util.h"
19 #include "testing/gtest/include/gtest/gtest.h" 20 #include "testing/gtest/include/gtest/gtest.h"
20 21
21 namespace chromeos { 22 namespace chromeos {
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 cache->StoreAvailablePrinters( 187 cache->StoreAvailablePrinters(
187 base::MakeUnique<PpdProvider::AvailablePrintersMap>()); 188 base::MakeUnique<PpdProvider::AvailablePrintersMap>());
188 189
189 // Should *miss* in the cache because the entry is already expired. 190 // Should *miss* in the cache because the entry is already expired.
190 EXPECT_FALSE(cache->FindAvailablePrinters()); 191 EXPECT_FALSE(cache->FindAvailablePrinters());
191 } 192 }
192 193
193 } // namespace 194 } // namespace
194 } // namespace printing 195 } // namespace printing
195 } // namespace chromeos 196 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/components/tether/local_device_data_provider_unittest.cc ('k') | components/arc/bluetooth/arc_bluetooth_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698