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

Side by Side Diff: components/wifi_sync/wifi_config_delegate_chromeos.cc

Issue 1426393003: NOT FOR REVIEW Base URL: https://chromium.googlesource.com/chromium/src.git@submit-4.5-split-wcss
Patch Set: Created 5 years, 1 month 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "components/wifi_sync/wifi_config_delegate_chromeos.h" 5 #include "components/wifi_sync/wifi_config_delegate_chromeos.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/memory/scoped_ptr.h"
10 #include "base/values.h" 9 #include "base/values.h"
11 #include "chromeos/network/managed_network_configuration_handler.h" 10 #include "chromeos/network/managed_network_configuration_handler.h"
11 #include "components/wifi_sync/wifi_config_observer_chromeos.h"
12 #include "components/wifi_sync/wifi_credential.h" 12 #include "components/wifi_sync/wifi_credential.h"
13 13
14 namespace wifi_sync { 14 namespace wifi_sync {
15 15
16 namespace { 16 namespace {
17 17
18 void OnCreateConfigurationFailed( 18 void OnCreateConfigurationFailed(
19 const WifiCredential& wifi_credential, 19 const WifiCredential& wifi_credential,
20 const std::string& config_handler_error_message, 20 const std::string& config_handler_error_message,
21 scoped_ptr<base::DictionaryValue> error_data) { 21 scoped_ptr<base::DictionaryValue> error_data) {
(...skipping 30 matching lines...) Expand all
52 52
53 managed_network_configuration_handler_ 53 managed_network_configuration_handler_
54 ->CreateConfiguration( 54 ->CreateConfiguration(
55 user_hash_, 55 user_hash_,
56 *onc_properties, 56 *onc_properties,
57 chromeos::network_handler::StringResultCallback(), 57 chromeos::network_handler::StringResultCallback(),
58 base::Bind(OnCreateConfigurationFailed, network_credential)); 58 base::Bind(OnCreateConfigurationFailed, network_credential));
59 } 59 }
60 60
61 } // namespace wifi_sync 61 } // namespace wifi_sync
OLDNEW
« no previous file with comments | « components/wifi_sync/wifi_config_delegate_chromeos.h ('k') | components/wifi_sync/wifi_config_delegate_chromeos_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698