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

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

Issue 14691006: Move SpawnedTestServer to its own subdirectory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sort gyp Created 7 years, 7 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
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 <string> 5 #include <string>
6 6
7 #include "base/compiler_specific.h" 7 #include "base/compiler_specific.h"
8 #include "base/stringprintf.h" 8 #include "base/stringprintf.h"
9 #include "base/strings/string_number_conversions.h" 9 #include "base/strings/string_number_conversions.h"
10 #include "base/utf_string_conversions.h" 10 #include "base/utf_string_conversions.h"
(...skipping 13 matching lines...) Expand all
24 #include "chrome/test/base/in_process_browser_test.h" 24 #include "chrome/test/base/in_process_browser_test.h"
25 #include "chrome/test/base/ui_test_utils.h" 25 #include "chrome/test/base/ui_test_utils.h"
26 #include "content/public/browser/dom_operation_notification_details.h" 26 #include "content/public/browser/dom_operation_notification_details.h"
27 #include "content/public/browser/navigation_controller.h" 27 #include "content/public/browser/navigation_controller.h"
28 #include "content/public/browser/notification_details.h" 28 #include "content/public/browser/notification_details.h"
29 #include "content/public/browser/notification_service.h" 29 #include "content/public/browser/notification_service.h"
30 #include "content/public/browser/render_view_host.h" 30 #include "content/public/browser/render_view_host.h"
31 #include "content/public/browser/web_contents.h" 31 #include "content/public/browser/web_contents.h"
32 #include "content/public/test/browser_test_utils.h" 32 #include "content/public/test/browser_test_utils.h"
33 #include "net/base/net_util.h" 33 #include "net/base/net_util.h"
34 #include "net/test/spawned_test_server.h" 34 #include "net/test/spawned_test_server/spawned_test_server.h"
35 35
36 using content::DomOperationNotificationDetails; 36 using content::DomOperationNotificationDetails;
37 using content::NavigationController; 37 using content::NavigationController;
38 using content::WebContents; 38 using content::WebContents;
39 39
40 namespace { 40 namespace {
41 41
42 42
43 // IFrameLoader --------------------------------------------------------------- 43 // IFrameLoader ---------------------------------------------------------------
44 44
(...skipping 689 matching lines...) Expand 10 before | Expand all | Expand 10 after
734 AddGeolocationWatch(false); 734 AddGeolocationWatch(false);
735 735
736 std::string script = 736 std::string script =
737 "window.domAutomationController.send(window.close());"; 737 "window.domAutomationController.send(window.close());";
738 bool result = 738 bool result =
739 content::ExecuteScript( 739 content::ExecuteScript(
740 current_browser_->tab_strip_model()->GetActiveWebContents(), 740 current_browser_->tab_strip_model()->GetActiveWebContents(),
741 script); 741 script);
742 EXPECT_EQ(result, true); 742 EXPECT_EQ(result, true);
743 } 743 }
OLDNEW
« no previous file with comments | « chrome/browser/external_extension_browsertest.cc ('k') | chrome/browser/history/multipart_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698