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

Side by Side Diff: chromeos/network/network_state_handler.cc

Issue 1556773002: Convert Pass()→std::move() in //chromeos (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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/network/network_state_handler.h" 5 #include "chromeos/network/network_state_handler.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/format_macros.h" 10 #include "base/format_macros.h"
(...skipping 981 matching lines...) Expand 10 before | Expand all | Expand 10 after
992 if (type.MatchesType(shill::kTypeWimax)) 992 if (type.MatchesType(shill::kTypeWimax))
993 technologies.push_back(new std::string(shill::kTypeWimax)); 993 technologies.push_back(new std::string(shill::kTypeWimax));
994 if (type.MatchesType(shill::kTypeCellular)) 994 if (type.MatchesType(shill::kTypeCellular))
995 technologies.push_back(new std::string(shill::kTypeCellular)); 995 technologies.push_back(new std::string(shill::kTypeCellular));
996 if (type.MatchesType(shill::kTypeBluetooth)) 996 if (type.MatchesType(shill::kTypeBluetooth))
997 technologies.push_back(new std::string(shill::kTypeBluetooth)); 997 technologies.push_back(new std::string(shill::kTypeBluetooth));
998 if (type.MatchesType(shill::kTypeVPN)) 998 if (type.MatchesType(shill::kTypeVPN))
999 technologies.push_back(new std::string(shill::kTypeVPN)); 999 technologies.push_back(new std::string(shill::kTypeVPN));
1000 1000
1001 CHECK_GT(technologies.size(), 0ul); 1001 CHECK_GT(technologies.size(), 0ul);
1002 return technologies.Pass(); 1002 return technologies;
1003 } 1003 }
1004 1004
1005 } // namespace chromeos 1005 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/network/network_handler_callbacks.cc ('k') | chromeos/network/network_state_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698