| OLD | NEW | 
|    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 <stddef.h> | 
 |    8  | 
|    7 #include "base/logging.h" |    9 #include "base/logging.h" | 
|    8 #include "base/macros.h" |   10 #include "base/macros.h" | 
|    9 #include "base/values.h" |   11 #include "base/values.h" | 
|   10 #include "chromeos/network/managed_network_configuration_handler.h" |   12 #include "chromeos/network/managed_network_configuration_handler.h" | 
|   11 #include "chromeos/network/network_handler_callbacks.h" |   13 #include "chromeos/network/network_handler_callbacks.h" | 
|   12 #include "components/wifi_sync/wifi_credential.h" |   14 #include "components/wifi_sync/wifi_credential.h" | 
|   13 #include "testing/gtest/include/gtest/gtest.h" |   15 #include "testing/gtest/include/gtest/gtest.h" | 
|   14  |   16  | 
|   15 namespace wifi_sync { |   17 namespace wifi_sync { | 
|   16  |   18  | 
| (...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  221   AddToLocalNetworks(MakeCredential(kSsid, SECURITY_CLASS_NONE, "")); |  223   AddToLocalNetworks(MakeCredential(kSsid, SECURITY_CLASS_NONE, "")); | 
|  222   EXPECT_TRUE(create_configuration_called()); |  224   EXPECT_TRUE(create_configuration_called()); | 
|  223   if (!create_configuration_error_callback().is_null()) { |  225   if (!create_configuration_error_callback().is_null()) { | 
|  224     create_configuration_error_callback().Run( |  226     create_configuration_error_callback().Run( | 
|  225         "Config.CreateConfiguration Failed", |  227         "Config.CreateConfiguration Failed", | 
|  226         make_scoped_ptr(new base::DictionaryValue())); |  228         make_scoped_ptr(new base::DictionaryValue())); | 
|  227   } |  229   } | 
|  228 } |  230 } | 
|  229  |  231  | 
|  230 }  // namespace wifi_sync |  232 }  // namespace wifi_sync | 
| OLD | NEW |