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

Side by Side Diff: content/browser/geolocation/geolocation_provider_impl_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, 11 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/location.h" 7 #include "base/location.h"
8 #include "base/macros.h"
8 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
9 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
10 #include "base/single_thread_task_runner.h" 11 #include "base/single_thread_task_runner.h"
11 #include "base/strings/string16.h" 12 #include "base/strings/string16.h"
12 #include "base/time/time.h" 13 #include "base/time/time.h"
13 #include "content/browser/geolocation/geolocation_provider_impl.h" 14 #include "content/browser/geolocation/geolocation_provider_impl.h"
14 #include "content/browser/geolocation/mock_location_arbitrator.h" 15 #include "content/browser/geolocation/mock_location_arbitrator.h"
15 #include "content/public/browser/access_token_store.h" 16 #include "content/public/browser/access_token_store.h"
16 #include "content/public/browser/browser_thread.h" 17 #include "content/public/browser/browser_thread.h"
17 #include "content/public/test/test_browser_thread.h" 18 #include "content/public/test/test_browser_thread.h"
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 &MockGeolocationObserver::OnLocationUpdate, 247 &MockGeolocationObserver::OnLocationUpdate,
247 base::Unretained(&mock_observer)); 248 base::Unretained(&mock_observer));
248 scoped_ptr<content::GeolocationProvider::Subscription> subscription = 249 scoped_ptr<content::GeolocationProvider::Subscription> subscription =
249 provider()->AddLocationUpdateCallback(callback, false); 250 provider()->AddLocationUpdateCallback(callback, false);
250 subscription.reset(); 251 subscription.reset();
251 // Wait for the providers to be stopped now that all clients are gone. 252 // Wait for the providers to be stopped now that all clients are gone.
252 EXPECT_FALSE(ProvidersStarted()); 253 EXPECT_FALSE(ProvidersStarted());
253 } 254 }
254 255
255 } // namespace content 256 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/geolocation/geolocation_provider_impl.h ('k') | content/browser/geolocation/geolocation_service_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698