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

Side by Side Diff: content/browser/geolocation/wifi_data_provider_common_unittest.cc

Issue 1549113002: Switch to standard integer types in content/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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 <vector> 5 #include <vector>
6 6
7 #include "base/macros.h"
7 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
8 #include "base/strings/string_util.h" 9 #include "base/strings/string_util.h"
9 #include "base/strings/utf_string_conversions.h" 10 #include "base/strings/utf_string_conversions.h"
10 #include "base/third_party/dynamic_annotations/dynamic_annotations.h" 11 #include "base/third_party/dynamic_annotations/dynamic_annotations.h"
12 #include "build/build_config.h"
11 #include "content/browser/geolocation/wifi_data_provider_common.h" 13 #include "content/browser/geolocation/wifi_data_provider_common.h"
12 #include "content/browser/geolocation/wifi_data_provider_manager.h" 14 #include "content/browser/geolocation/wifi_data_provider_manager.h"
13 #include "testing/gmock/include/gmock/gmock.h" 15 #include "testing/gmock/include/gmock/gmock.h"
14 #include "testing/gtest/include/gtest/gtest.h" 16 #include "testing/gtest/include/gtest/gtest.h"
15 17
16 using testing::_; 18 using testing::_;
17 using testing::AtLeast; 19 using testing::AtLeast;
18 using testing::DoDefault; 20 using testing::DoDefault;
19 using testing::Invoke; 21 using testing::Invoke;
20 using testing::Return; 22 using testing::Return;
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 MessageLoopQuitter loop_quitter(&main_message_loop_); 233 MessageLoopQuitter loop_quitter(&main_message_loop_);
232 WifiDataProviderManager::SetFactoryForTesting( 234 WifiDataProviderManager::SetFactoryForTesting(
233 CreateWifiDataProviderCommonWithMock); 235 CreateWifiDataProviderCommonWithMock);
234 WifiDataProviderManager::Register(&loop_quitter.callback_); 236 WifiDataProviderManager::Register(&loop_quitter.callback_);
235 main_message_loop_.Run(); 237 main_message_loop_.Run();
236 WifiDataProviderManager::Unregister(&loop_quitter.callback_); 238 WifiDataProviderManager::Unregister(&loop_quitter.callback_);
237 WifiDataProviderManager::ResetFactoryForTesting(); 239 WifiDataProviderManager::ResetFactoryForTesting();
238 } 240 }
239 241
240 } // namespace content 242 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/geolocation/wifi_data_provider_common.cc ('k') | content/browser/geolocation/wifi_data_provider_common_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698