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

Side by Side Diff: chromeos/network/network_state_handler.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) 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/network_state_handler.h" 5 #include "chromeos/network/network_state_handler.h"
6 6
7 #include <stddef.h>
8
7 #include "base/bind.h" 9 #include "base/bind.h"
8 #include "base/format_macros.h" 10 #include "base/format_macros.h"
9 #include "base/guid.h" 11 #include "base/guid.h"
10 #include "base/json/json_string_value_serializer.h" 12 #include "base/json/json_string_value_serializer.h"
11 #include "base/json/json_writer.h" 13 #include "base/json/json_writer.h"
12 #include "base/location.h" 14 #include "base/location.h"
13 #include "base/logging.h" 15 #include "base/logging.h"
14 #include "base/metrics/histogram.h" 16 #include "base/metrics/histogram.h"
15 #include "base/stl_util.h" 17 #include "base/stl_util.h"
16 #include "base/strings/string_util.h" 18 #include "base/strings/string_util.h"
(...skipping 977 matching lines...) Expand 10 before | Expand all | Expand 10 after
994 if (type.MatchesType(shill::kTypeBluetooth)) 996 if (type.MatchesType(shill::kTypeBluetooth))
995 technologies.push_back(new std::string(shill::kTypeBluetooth)); 997 technologies.push_back(new std::string(shill::kTypeBluetooth));
996 if (type.MatchesType(shill::kTypeVPN)) 998 if (type.MatchesType(shill::kTypeVPN))
997 technologies.push_back(new std::string(shill::kTypeVPN)); 999 technologies.push_back(new std::string(shill::kTypeVPN));
998 1000
999 CHECK_GT(technologies.size(), 0ul); 1001 CHECK_GT(technologies.size(), 0ul);
1000 return technologies.Pass(); 1002 return technologies.Pass();
1001 } 1003 }
1002 1004
1003 } // namespace chromeos 1005 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/network/network_state_handler.h ('k') | chromeos/network/network_state_handler_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698