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

Side by Side Diff: chrome/test/chromedriver/window_commands.cc

Issue 16753002: Use a direct include of strings headers in chrome/test/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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/test/chromedriver/util.cc ('k') | chrome/test/gpu/gpu_feature_browsertest.cc » ('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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 "chrome/test/chromedriver/window_commands.h" 5 #include "chrome/test/chromedriver/window_commands.h"
6 6
7 #include <list> 7 #include <list>
8 8
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/stringprintf.h"
11 #include "base/strings/string_number_conversions.h" 10 #include "base/strings/string_number_conversions.h"
11 #include "base/strings/stringprintf.h"
12 #include "base/threading/platform_thread.h" 12 #include "base/threading/platform_thread.h"
13 #include "base/time.h" 13 #include "base/time.h"
14 #include "base/values.h" 14 #include "base/values.h"
15 #include "chrome/test/chromedriver/basic_types.h" 15 #include "chrome/test/chromedriver/basic_types.h"
16 #include "chrome/test/chromedriver/chrome/chrome.h" 16 #include "chrome/test/chromedriver/chrome/chrome.h"
17 #include "chrome/test/chromedriver/chrome/devtools_client.h" 17 #include "chrome/test/chromedriver/chrome/devtools_client.h"
18 #include "chrome/test/chromedriver/chrome/geoposition.h" 18 #include "chrome/test/chromedriver/chrome/geoposition.h"
19 #include "chrome/test/chromedriver/chrome/javascript_dialog_manager.h" 19 #include "chrome/test/chromedriver/chrome/javascript_dialog_manager.h"
20 #include "chrome/test/chromedriver/chrome/js.h" 20 #include "chrome/test/chromedriver/chrome/js.h"
21 #include "chrome/test/chromedriver/chrome/status.h" 21 #include "chrome/test/chromedriver/chrome/status.h"
(...skipping 732 matching lines...) Expand 10 before | Expand all | Expand 10 after
754 // |accuracy| is not part of the WebDriver spec yet, so if it is not given 754 // |accuracy| is not part of the WebDriver spec yet, so if it is not given
755 // default to 100 meters accuracy. 755 // default to 100 meters accuracy.
756 geoposition.accuracy = 100; 756 geoposition.accuracy = 100;
757 } 757 }
758 758
759 Status status = web_view->OverrideGeolocation(geoposition); 759 Status status = web_view->OverrideGeolocation(geoposition);
760 if (status.IsOk()) 760 if (status.IsOk())
761 session->overridden_geoposition.reset(new Geoposition(geoposition)); 761 session->overridden_geoposition.reset(new Geoposition(geoposition));
762 return status; 762 return status;
763 } 763 }
OLDNEW
« no previous file with comments | « chrome/test/chromedriver/util.cc ('k') | chrome/test/gpu/gpu_feature_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698