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

Side by Side Diff: chrome/browser/chromeos/net/onc_utils.cc

Issue 1547093002: Switch to standard integer types in chrome/browser/chromeos/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 "chrome/browser/chromeos/net/onc_utils.h" 5 #include "chrome/browser/chromeos/net/onc_utils.h"
6 6
7 #include "base/bind_helpers.h" 7 #include "base/bind_helpers.h"
8 #include "base/json/json_writer.h" 8 #include "base/json/json_writer.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/macros.h"
10 #include "base/prefs/pref_service.h" 11 #include "base/prefs/pref_service.h"
11 #include "base/values.h" 12 #include "base/values.h"
12 #include "chrome/common/pref_names.h" 13 #include "chrome/common/pref_names.h"
13 #include "chromeos/network/managed_network_configuration_handler.h" 14 #include "chromeos/network/managed_network_configuration_handler.h"
14 #include "chromeos/network/network_configuration_handler.h" 15 #include "chromeos/network/network_configuration_handler.h"
15 #include "chromeos/network/network_handler.h" 16 #include "chromeos/network/network_handler.h"
16 #include "chromeos/network/network_profile.h" 17 #include "chromeos/network/network_profile.h"
17 #include "chromeos/network/network_profile_handler.h" 18 #include "chromeos/network/network_profile_handler.h"
18 #include "chromeos/network/network_state.h" 19 #include "chromeos/network/network_state.h"
19 #include "chromeos/network/network_state_handler.h" 20 #include "chromeos/network/network_state_handler.h"
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
336 const PrefService* local_state_prefs, 337 const PrefService* local_state_prefs,
337 const NetworkState& network) { 338 const NetworkState& network) {
338 ::onc::ONCSource ignored_onc_source; 339 ::onc::ONCSource ignored_onc_source;
339 const base::DictionaryValue* policy = onc::GetPolicyForNetwork( 340 const base::DictionaryValue* policy = onc::GetPolicyForNetwork(
340 profile_prefs, local_state_prefs, network, &ignored_onc_source); 341 profile_prefs, local_state_prefs, network, &ignored_onc_source);
341 return policy != NULL; 342 return policy != NULL;
342 } 343 }
343 344
344 } // namespace onc 345 } // namespace onc
345 } // namespace chromeos 346 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698