OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "base/bind.h" | 5 #include "base/bind.h" |
6 #include "base/bind_helpers.h" | 6 #include "base/bind_helpers.h" |
| 7 #include "base/message_loop/message_loop.h" |
7 #include "base/strings/string_util.h" | 8 #include "base/strings/string_util.h" |
8 #include "base/strings/utf_string_conversions.h" | 9 #include "base/strings/utf_string_conversions.h" |
9 #include "chrome/browser/geolocation/chrome_access_token_store.h" | 10 #include "chrome/browser/geolocation/chrome_access_token_store.h" |
10 #include "chrome/test/base/in_process_browser_test.h" | 11 #include "chrome/test/base/in_process_browser_test.h" |
11 #include "content/public/test/test_browser_thread.h" | 12 #include "content/public/test/test_browser_thread.h" |
12 #include "content/public/test/test_utils.h" | 13 #include "content/public/test/test_utils.h" |
13 #include "device/geolocation/access_token_store.h" | 14 #include "device/geolocation/access_token_store.h" |
14 | 15 |
15 using device::AccessTokenStore; | 16 using device::AccessTokenStore; |
16 using content::BrowserThread; | 17 using content::BrowserThread; |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 // Set a token for the old default network provider url. | 114 // Set a token for the old default network provider url. |
114 DoTestStepAndWaitForResults(kOldDefaultNetworkProviderUrl, | 115 DoTestStepAndWaitForResults(kOldDefaultNetworkProviderUrl, |
115 nullptr, &ref_token1); | 116 nullptr, &ref_token1); |
116 // Check that the token related to the old default network provider url | 117 // Check that the token related to the old default network provider url |
117 // was deleted. | 118 // was deleted. |
118 DoTestStepAndWaitForResults(kOldDefaultNetworkProviderUrl, | 119 DoTestStepAndWaitForResults(kOldDefaultNetworkProviderUrl, |
119 nullptr, nullptr); | 120 nullptr, nullptr); |
120 } | 121 } |
121 | 122 |
122 } // namespace | 123 } // namespace |
OLD | NEW |