| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/geolocation/wifi_data_provider_common.h" | 5 #include "chrome/browser/geolocation/wifi_data_provider_common.h" |
| 6 | 6 |
| 7 #include <vector> | 7 #include <vector> |
| 8 | 8 |
| 9 #include "base/scoped_ptr.h" | 9 #include "base/scoped_ptr.h" |
| 10 #include "base/string_util.h" | 10 #include "base/string_util.h" |
| (...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 223 MessageLoopQuitListener quit_listener(&main_message_loop_); | 223 MessageLoopQuitListener quit_listener(&main_message_loop_); |
| 224 WifiDataProvider::SetFactory(CreateWifiDataProviderCommonWithMock); | 224 WifiDataProvider::SetFactory(CreateWifiDataProviderCommonWithMock); |
| 225 DeviceDataProvider<WifiData>::Register(&quit_listener); | 225 DeviceDataProvider<WifiData>::Register(&quit_listener); |
| 226 main_message_loop_.Run(); | 226 main_message_loop_.Run(); |
| 227 DeviceDataProvider<WifiData>::Unregister(&quit_listener); | 227 DeviceDataProvider<WifiData>::Unregister(&quit_listener); |
| 228 DeviceDataProvider<WifiData>::ResetFactory(); | 228 DeviceDataProvider<WifiData>::ResetFactory(); |
| 229 } | 229 } |
| 230 | 230 |
| 231 } // namespace | 231 } // namespace |
| 232 | 232 |
| OLD | NEW |