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/shill_property_handler_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
« no previous file with comments | « chromeos/network/shill_property_handler.cc ('k') | chromeos/network/shill_property_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/network/shill_property_handler.h" 5 #include "chromeos/network/shill_property_handler.h"
6 6
7 #include <stddef.h>
8
7 #include <map> 9 #include <map>
8 #include <set> 10 #include <set>
9 #include <string> 11 #include <string>
10 12
11 #include "base/bind.h" 13 #include "base/bind.h"
14 #include "base/macros.h"
12 #include "base/memory/scoped_ptr.h" 15 #include "base/memory/scoped_ptr.h"
13 #include "base/message_loop/message_loop.h" 16 #include "base/message_loop/message_loop.h"
14 #include "base/values.h" 17 #include "base/values.h"
15 #include "chromeos/dbus/dbus_thread_manager.h" 18 #include "chromeos/dbus/dbus_thread_manager.h"
16 #include "chromeos/dbus/shill_device_client.h" 19 #include "chromeos/dbus/shill_device_client.h"
17 #include "chromeos/dbus/shill_ipconfig_client.h" 20 #include "chromeos/dbus/shill_ipconfig_client.h"
18 #include "chromeos/dbus/shill_manager_client.h" 21 #include "chromeos/dbus/shill_manager_client.h"
19 #include "chromeos/dbus/shill_profile_client.h" 22 #include "chromeos/dbus/shill_profile_client.h"
20 #include "chromeos/dbus/shill_service_client.h" 23 #include "chromeos/dbus/shill_service_client.h"
21 #include "dbus/object_path.h" 24 #include "dbus/object_path.h"
(...skipping 503 matching lines...) Expand 10 before | Expand all | Expand 10 after
525 shill_property_handler_->SetProhibitedTechnologies( 528 shill_property_handler_->SetProhibitedTechnologies(
526 prohibited_technologies, network_handler::ErrorCallback()); 529 prohibited_technologies, network_handler::ErrorCallback());
527 shill_property_handler_->SetTechnologyEnabled( 530 shill_property_handler_->SetTechnologyEnabled(
528 shill::kTypeEthernet, true, network_handler::ErrorCallback()); 531 shill::kTypeEthernet, true, network_handler::ErrorCallback());
529 message_loop_.RunUntilIdle(); 532 message_loop_.RunUntilIdle();
530 EXPECT_TRUE( 533 EXPECT_TRUE(
531 shill_property_handler_->IsTechnologyEnabled(shill::kTypeEthernet)); 534 shill_property_handler_->IsTechnologyEnabled(shill::kTypeEthernet));
532 } 535 }
533 536
534 } // namespace chromeos 537 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/network/shill_property_handler.cc ('k') | chromeos/network/shill_property_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698