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

Side by Side Diff: chrome/test/automation/automation_json_requests.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 | « no previous file | chrome/test/automation/proxy_launcher.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) 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 "chrome/test/automation/automation_json_requests.h" 5 #include "chrome/test/automation/automation_json_requests.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "base/format_macros.h" 9 #include "base/format_macros.h"
10 #include "base/json/json_reader.h" 10 #include "base/json/json_reader.h"
11 #include "base/json/json_string_value_serializer.h" 11 #include "base/json/json_string_value_serializer.h"
12 #include "base/json/json_writer.h" 12 #include "base/json/json_writer.h"
13 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
14 #include "base/stringprintf.h" 14 #include "base/strings/stringprintf.h"
15 #include "base/test/test_timeouts.h" 15 #include "base/test/test_timeouts.h"
16 #include "base/time.h" 16 #include "base/time.h"
17 #include "base/values.h" 17 #include "base/values.h"
18 #include "chrome/common/automation_messages.h" 18 #include "chrome/common/automation_messages.h"
19 #include "chrome/test/automation/automation_proxy.h" 19 #include "chrome/test/automation/automation_proxy.h"
20 20
21 using automation::Error; 21 using automation::Error;
22 using automation::ErrorCode; 22 using automation::ErrorCode;
23 using base::DictionaryValue; 23 using base::DictionaryValue;
24 using base::ListValue; 24 using base::ListValue;
(...skipping 912 matching lines...) Expand 10 before | Expand all | Expand 10 after
937 937
938 bool SendOverrideGeolocationJSONRequest( 938 bool SendOverrideGeolocationJSONRequest(
939 AutomationMessageSender* sender, 939 AutomationMessageSender* sender,
940 const base::DictionaryValue* geolocation, 940 const base::DictionaryValue* geolocation,
941 Error* error) { 941 Error* error) {
942 scoped_ptr<DictionaryValue> dict(geolocation->DeepCopy()); 942 scoped_ptr<DictionaryValue> dict(geolocation->DeepCopy());
943 dict->SetString("command", "OverrideGeoposition"); 943 dict->SetString("command", "OverrideGeoposition");
944 DictionaryValue reply_dict; 944 DictionaryValue reply_dict;
945 return SendAutomationJSONRequest(sender, *dict.get(), &reply_dict, error); 945 return SendAutomationJSONRequest(sender, *dict.get(), &reply_dict, error);
946 } 946 }
OLDNEW
« no previous file with comments | « no previous file | chrome/test/automation/proxy_launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698