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

Side by Side Diff: chromeos/network/network_state_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 5 years 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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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/network/network_state.h" 5 #include "chromeos/network/network_state.h"
6 6
7 #include "base/basictypes.h" 7 #include <stdint.h>
8
8 #include "base/i18n/streaming_utf8_validator.h" 9 #include "base/i18n/streaming_utf8_validator.h"
10 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
10 #include "base/strings/string_number_conversions.h" 12 #include "base/strings/string_number_conversions.h"
11 #include "base/values.h" 13 #include "base/values.h"
12 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
13 #include "third_party/cros_system_api/dbus/service_constants.h" 15 #include "third_party/cros_system_api/dbus/service_constants.h"
14 16
15 namespace chromeos { 17 namespace chromeos {
16 18
17 namespace { 19 namespace {
18 20
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 provider->SetStringWithoutPathExpansion( 229 provider->SetStringWithoutPathExpansion(
228 shill::kHostProperty, "third-party-vpn-provider-extension-id"); 230 shill::kHostProperty, "third-party-vpn-provider-extension-id");
229 EXPECT_TRUE(SetProperty(shill::kProviderProperty, provider.Pass())); 231 EXPECT_TRUE(SetProperty(shill::kProviderProperty, provider.Pass()));
230 SignalInitialPropertiesReceived(); 232 SignalInitialPropertiesReceived();
231 EXPECT_EQ(network_state_.vpn_provider_type(), shill::kProviderThirdPartyVpn); 233 EXPECT_EQ(network_state_.vpn_provider_type(), shill::kProviderThirdPartyVpn);
232 EXPECT_EQ(network_state_.third_party_vpn_provider_extension_id(), 234 EXPECT_EQ(network_state_.third_party_vpn_provider_extension_id(),
233 "third-party-vpn-provider-extension-id"); 235 "third-party-vpn-provider-extension-id");
234 } 236 }
235 237
236 } // namespace chromeos 238 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/network/network_state_handler_unittest.cc ('k') | chromeos/network/network_type_pattern.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698