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

Side by Side Diff: content/renderer/dom_automation_controller.cc

Issue 16756003: Use a direct include of strings headers in content/renderer and content/shell. (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
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 "content/renderer/dom_automation_controller.h" 5 #include "content/renderer/dom_automation_controller.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/bind_helpers.h" 8 #include "base/bind_helpers.h"
9 #include "base/json/json_string_value_serializer.h" 9 #include "base/json/json_string_value_serializer.h"
10 #include "base/metrics/histogram.h" 10 #include "base/metrics/histogram.h"
11 #include "base/metrics/statistics_recorder.h" 11 #include "base/metrics/statistics_recorder.h"
12 #include "base/string_util.h" 12 #include "base/strings/string_util.h"
13 #include "content/common/child_process_messages.h" 13 #include "content/common/child_process_messages.h"
14 #include "content/common/view_messages.h" 14 #include "content/common/view_messages.h"
15 15
16 using webkit_glue::CppArgumentList; 16 using webkit_glue::CppArgumentList;
17 using webkit_glue::CppVariant; 17 using webkit_glue::CppVariant;
18 18
19 namespace content { 19 namespace content {
20 20
21 DomAutomationController::DomAutomationController() 21 DomAutomationController::DomAutomationController()
22 : sender_(NULL), 22 : sender_(NULL),
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 if (!args[0].isNumber()) { 165 if (!args[0].isNumber()) {
166 result->SetNull(); 166 result->SetNull();
167 return; 167 return;
168 } 168 }
169 169
170 automation_id_ = args[0].ToInt32(); 170 automation_id_ = args[0].ToInt32();
171 result->Set(true); 171 result->Set(true);
172 } 172 }
173 173
174 } // namespace content 174 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/devtools/devtools_agent.cc ('k') | content/renderer/dom_serializer_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698