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

Unified Diff: content/public/test/browser_test_utils.cc

Issue 108603005: Update uses of Value in chromeos/, cloud_print/, components/, content/ to use the base:: namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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 side-by-side diff with in-line comments
Download patch
Index: content/public/test/browser_test_utils.cc
diff --git a/content/public/test/browser_test_utils.cc b/content/public/test/browser_test_utils.cc
index 5a873273b35b13f73bfbea96508baa4587d85c5a..29252b3d393ee969040c70dfc776e1d3a9a75c1a 100644
--- a/content/public/test/browser_test_utils.cc
+++ b/content/public/test/browser_test_utils.cc
@@ -82,7 +82,7 @@ class DOMOperationObserver : public NotificationObserver,
bool ExecuteScriptHelper(RenderViewHost* render_view_host,
const std::string& frame_xpath,
const std::string& original_script,
- scoped_ptr<Value>* result) WARN_UNUSED_RESULT;
+ scoped_ptr<base::Value>* result) WARN_UNUSED_RESULT;
// Executes the passed |original_script| in the frame pointed to by
// |frame_xpath|. If |result| is not NULL, stores the value that the evaluation
@@ -90,7 +90,7 @@ bool ExecuteScriptHelper(RenderViewHost* render_view_host,
bool ExecuteScriptHelper(RenderViewHost* render_view_host,
const std::string& frame_xpath,
const std::string& original_script,
- scoped_ptr<Value>* result) {
+ scoped_ptr<base::Value>* result) {
// TODO(jcampan): we should make the domAutomationController not require an
// automation id.
std::string script =
@@ -415,7 +415,7 @@ bool ExecuteScriptInFrameAndExtractInt(
const std::string& script,
int* result) {
DCHECK(result);
- scoped_ptr<Value> value;
+ scoped_ptr<base::Value> value;
if (!ExecuteScriptHelper(adapter.render_view_host(), frame_xpath, script,
&value) || !value.get())
return false;
@@ -429,7 +429,7 @@ bool ExecuteScriptInFrameAndExtractBool(
const std::string& script,
bool* result) {
DCHECK(result);
- scoped_ptr<Value> value;
+ scoped_ptr<base::Value> value;
if (!ExecuteScriptHelper(adapter.render_view_host(), frame_xpath, script,
&value) || !value.get())
return false;
@@ -443,7 +443,7 @@ bool ExecuteScriptInFrameAndExtractString(
const std::string& script,
std::string* result) {
DCHECK(result);
- scoped_ptr<Value> value;
+ scoped_ptr<base::Value> value;
if (!ExecuteScriptHelper(adapter.render_view_host(), frame_xpath, script,
&value) || !value.get())
return false;
« no previous file with comments | « content/common/gpu/client/gl_helper_unittests.cc ('k') | content/renderer/browser_plugin/browser_plugin_bindings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698