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

Side by Side Diff: chrome/browser/geolocation/geolocation_browsertest.cc

Issue 3010052: FBTF: Remove unneeded headers from base/ (part 2) (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/file_watcher_inotify.cc ('k') | chrome/browser/js_modal_dialog.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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/compiler_specific.h" 5 #include "base/compiler_specific.h"
6 #include "base/string_util.h" 6 #include "base/string_util.h"
7 #include "base/waitable_event.h"
8 #include "chrome/browser/app_modal_dialog.h" 7 #include "chrome/browser/app_modal_dialog.h"
9 #include "chrome/browser/browser.h" 8 #include "chrome/browser/browser.h"
10 #include "chrome/browser/browser_list.h" 9 #include "chrome/browser/browser_list.h"
11 #include "chrome/browser/chrome_thread.h" 10 #include "chrome/browser/chrome_thread.h"
12 #include "chrome/browser/dom_operation_notification_details.h" 11 #include "chrome/browser/dom_operation_notification_details.h"
13 #include "chrome/browser/geolocation/geolocation_content_settings_map.h" 12 #include "chrome/browser/geolocation/geolocation_content_settings_map.h"
14 #include "chrome/browser/geolocation/geolocation_settings_state.h" 13 #include "chrome/browser/geolocation/geolocation_settings_state.h"
15 #include "chrome/browser/geolocation/location_arbitrator.h" 14 #include "chrome/browser/geolocation/location_arbitrator.h"
16 #include "chrome/browser/geolocation/location_provider.h" 15 #include "chrome/browser/geolocation/location_provider.h"
17 #include "chrome/browser/geolocation/mock_location_provider.h" 16 #include "chrome/browser/geolocation/mock_location_provider.h"
(...skipping 559 matching lines...) Expand 10 before | Expand all | Expand 10 after
577 SetInfobarResponse(current_url_, true); 576 SetInfobarResponse(current_url_, true);
578 CheckGeoposition(MockLocationProvider::instance_->position_); 577 CheckGeoposition(MockLocationProvider::instance_->position_);
579 578
580 // The second watch will now have cancelled. Ensure an update still makes 579 // The second watch will now have cancelled. Ensure an update still makes
581 // its way through to the first watcher. 580 // its way through to the first watcher.
582 ChromeThread::PostTask(ChromeThread::IO, FROM_HERE, NewRunnableFunction( 581 ChromeThread::PostTask(ChromeThread::IO, FROM_HERE, NewRunnableFunction(
583 &NotifyGeopositionOnIOThread, final_position)); 582 &NotifyGeopositionOnIOThread, final_position));
584 WaitForJSPrompt(); 583 WaitForJSPrompt();
585 CheckGeoposition(final_position); 584 CheckGeoposition(final_position);
586 } 585 }
OLDNEW
« no previous file with comments | « chrome/browser/file_watcher_inotify.cc ('k') | chrome/browser/js_modal_dialog.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698