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

Side by Side Diff: chrome/browser/ui/webui/print_preview/printer_capabilities_unittest.cc

Issue 2695823008: Add missing #include around sequenced_worker_pool.h in //chrome (Closed)
Patch Set: sync_websocket_impl & wizard_controller Created 3 years, 10 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 <memory> 5 #include <memory>
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/memory/ptr_util.h" 8 #include "base/memory/ptr_util.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/run_loop.h" 10 #include "base/run_loop.h"
11 #include "base/task_runner_util.h"
11 #include "base/test/values_test_util.h" 12 #include "base/test/values_test_util.h"
13 #include "base/threading/sequenced_worker_pool.h"
12 #include "chrome/browser/ui/webui/print_preview/printer_capabilities.h" 14 #include "chrome/browser/ui/webui/print_preview/printer_capabilities.h"
13 #include "content/public/browser/browser_thread.h" 15 #include "content/public/browser/browser_thread.h"
14 #include "content/public/test/test_browser_thread_bundle.h" 16 #include "content/public/test/test_browser_thread_bundle.h"
15 #include "printing/backend/test_print_backend.h" 17 #include "printing/backend/test_print_backend.h"
16 #include "testing/gtest/include/gtest/gtest.h" 18 #include "testing/gtest/include/gtest/gtest.h"
17 #include "ui/gfx/geometry/size.h" 19 #include "ui/gfx/geometry/size.h"
18 20
19 namespace { 21 namespace {
20 22
21 void SettingsReply(std::unique_ptr<base::DictionaryValue>* out, 23 void SettingsReply(std::unique_ptr<base::DictionaryValue>* out,
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 GetSettingsSynchronous(printer_name, basic_info); 117 GetSettingsSynchronous(printer_name, basic_info);
116 118
117 // verify settings were created 119 // verify settings were created
118 ASSERT_TRUE(settings_dictionary); 120 ASSERT_TRUE(settings_dictionary);
119 121
120 // verify that capabilities is an empty dictionary 122 // verify that capabilities is an empty dictionary
121 base::DictionaryValue* caps_dict; 123 base::DictionaryValue* caps_dict;
122 ASSERT_TRUE(settings_dictionary->GetDictionary("capabilities", &caps_dict)); 124 ASSERT_TRUE(settings_dictionary->GetDictionary("capabilities", &caps_dict));
123 EXPECT_TRUE(caps_dict->empty()); 125 EXPECT_TRUE(caps_dict->empty());
124 } 126 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/print_preview/printer_capabilities.cc ('k') | chrome/browser/web_applications/web_app_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698