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

Side by Side Diff: chromeos/dbus/services/proxy_resolution_service_provider_unittest.cc

Issue 1540803002: Switch to standard integer types in chromeos/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more includes Created 4 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "chromeos/dbus/services/proxy_resolution_service_provider.h" 5 #include "chromeos/dbus/services/proxy_resolution_service_provider.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/macros.h"
8 #include "base/run_loop.h" 9 #include "base/run_loop.h"
9 #include "base/single_thread_task_runner.h" 10 #include "base/single_thread_task_runner.h"
10 #include "base/thread_task_runner_handle.h" 11 #include "base/thread_task_runner_handle.h"
11 #include "chromeos/dbus/services/service_provider_test_helper.h" 12 #include "chromeos/dbus/services/service_provider_test_helper.h"
12 #include "dbus/message.h" 13 #include "dbus/message.h"
13 #include "net/url_request/url_request_test_util.h" 14 #include "net/url_request/url_request_test_util.h"
14 #include "third_party/cros_system_api/dbus/service_constants.h" 15 #include "third_party/cros_system_api/dbus/service_constants.h"
15 16
16 namespace chromeos { 17 namespace chromeos {
17 18
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 dbus::MessageReader reader(response.get()); 123 dbus::MessageReader reader(response.get());
123 EXPECT_FALSE(reader.HasMoreData()); 124 EXPECT_FALSE(reader.HasMoreData());
124 125
125 // Confirm that the signal is received successfully. 126 // Confirm that the signal is received successfully.
126 EXPECT_EQ(kSourceURL, source_url_); 127 EXPECT_EQ(kSourceURL, source_url_);
127 EXPECT_EQ("DIRECT", proxy_info_); 128 EXPECT_EQ("DIRECT", proxy_info_);
128 EXPECT_EQ("", error_message_); 129 EXPECT_EQ("", error_message_);
129 } 130 }
130 131
131 } // namespace chromeos 132 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/dbus/services/proxy_resolution_service_provider.cc ('k') | chromeos/dbus/session_manager_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698