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

Side by Side Diff: chrome/browser/profiles/profile_window_browsertest.cc

Issue 2664753002: Remove base::StringValue (Closed)
Patch Set: Rebase Created 3 years, 9 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
OLDNEW
1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2015 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/browser/profiles/profile_window.h" 5 #include "chrome/browser/profiles/profile_window.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 expected_path, 282 expected_path,
283 profiles::USER_MANAGER_NO_TUTORIAL, 283 profiles::USER_MANAGER_NO_TUTORIAL,
284 profiles::USER_MANAGER_SELECT_PROFILE_NO_ACTION, 284 profiles::USER_MANAGER_SELECT_PROFILE_NO_ACTION,
285 base::Bind(&ProfileWindowWebUIBrowserTest::OnSystemProfileCreated, 285 base::Bind(&ProfileWindowWebUIBrowserTest::OnSystemProfileCreated,
286 base::Unretained(this), 286 base::Unretained(this),
287 &url_to_test, 287 &url_to_test,
288 run_loop.QuitClosure())); 288 run_loop.QuitClosure()));
289 run_loop.Run(); 289 run_loop.Run();
290 290
291 ui_test_utils::NavigateToURL(browser(), GURL(url_to_test)); 291 ui_test_utils::NavigateToURL(browser(), GURL(url_to_test));
292 EXPECT_TRUE(RunJavascriptTest( 292 EXPECT_TRUE(RunJavascriptTest("testPodFocused",
293 "testPodFocused", new base::StringValue(expected_path.AsUTF8Unsafe()))); 293 new base::Value(expected_path.AsUTF8Unsafe())));
294 } 294 }
295 295
296 #endif // !defined(OS_CHROMEOS) && !defined(OS_ANDROID) 296 #endif // !defined(OS_CHROMEOS) && !defined(OS_ANDROID)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698