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

Side by Side Diff: chrome/browser/password_manager/password_manager_test_base.cc

Issue 1548133002: Switch to standard integer types in chrome/browser/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 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/password_manager/password_manager_test_base.h" 5 #include "chrome/browser/password_manager/password_manager_test_base.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/macros.h"
10 #include "base/run_loop.h" 11 #include "base/run_loop.h"
11 #include "base/strings/stringprintf.h" 12 #include "base/strings/stringprintf.h"
12 #include "chrome/browser/infobars/infobar_service.h" 13 #include "chrome/browser/infobars/infobar_service.h"
13 #include "chrome/browser/password_manager/chrome_password_manager_client.h" 14 #include "chrome/browser/password_manager/chrome_password_manager_client.h"
14 #include "chrome/browser/password_manager/password_store_factory.h" 15 #include "chrome/browser/password_manager/password_store_factory.h"
15 #include "chrome/browser/profiles/profile.h" 16 #include "chrome/browser/profiles/profile.h"
16 #include "chrome/browser/ui/browser.h" 17 #include "chrome/browser/ui/browser.h"
17 #include "chrome/browser/ui/passwords/passwords_model_delegate.h" 18 #include "chrome/browser/ui/passwords/passwords_model_delegate.h"
18 #include "chrome/browser/ui/tabs/tab_strip_model.h" 19 #include "chrome/browser/ui/tabs/tab_strip_model.h"
19 #include "chrome/test/base/ui_test_utils.h" 20 #include "chrome/test/base/ui_test_utils.h"
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
336 " var element = document.getElementById('%s');" 337 " var element = document.getElementById('%s');"
337 "window.domAutomationController.send(element && element.value == '%s');", 338 "window.domAutomationController.send(element && element.value == '%s');",
338 iframe_id.c_str(), iframe_id.c_str(), element_id.c_str(), 339 iframe_id.c_str(), iframe_id.c_str(), element_id.c_str(),
339 element_id.c_str(), expected_value.c_str()); 340 element_id.c_str(), expected_value.c_str());
340 bool return_value = false; 341 bool return_value = false;
341 ASSERT_TRUE(content::ExecuteScriptAndExtractBool( 342 ASSERT_TRUE(content::ExecuteScriptAndExtractBool(
342 RenderViewHost(), value_check_script, &return_value)); 343 RenderViewHost(), value_check_script, &return_value));
343 EXPECT_TRUE(return_value) << "element_id = " << element_id 344 EXPECT_TRUE(return_value) << "element_id = " << element_id
344 << ", expected_value = " << expected_value; 345 << ", expected_value = " << expected_value;
345 } 346 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698