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

Side by Side Diff: chrome/renderer/autofill/password_generation_agent_browsertest.cc

Issue 1548153002: Switch to standard integer types in chrome/. (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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 <string.h> 5 #include <string.h>
6 6
7 #include "base/macros.h"
7 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
8 #include "base/strings/utf_string_conversions.h" 9 #include "base/strings/utf_string_conversions.h"
9 #include "base/test/histogram_tester.h" 10 #include "base/test/histogram_tester.h"
10 #include "chrome/renderer/autofill/password_generation_test_utils.h" 11 #include "chrome/renderer/autofill/password_generation_test_utils.h"
11 #include "chrome/test/base/chrome_render_view_test.h" 12 #include "chrome/test/base/chrome_render_view_test.h"
12 #include "components/autofill/content/common/autofill_messages.h" 13 #include "components/autofill/content/common/autofill_messages.h"
13 #include "components/autofill/content/renderer/autofill_agent.h" 14 #include "components/autofill/content/renderer/autofill_agent.h"
14 #include "components/autofill/content/renderer/test_password_generation_agent.h" 15 #include "components/autofill/content/renderer/test_password_generation_agent.h"
15 #include "components/autofill/core/common/form_data.h" 16 #include "components/autofill/core/common/form_data.h"
16 #include "components/autofill/core/common/password_generation_util.h" 17 #include "components/autofill/core/common/password_generation_util.h"
(...skipping 545 matching lines...) Expand 10 before | Expand all | Expand 10 after
562 ExpectGenerationAvailable("password", false); 563 ExpectGenerationAvailable("password", false);
563 ExpectGenerationAvailable("newpassword", false); 564 ExpectGenerationAvailable("newpassword", false);
564 565
565 SetAccountCreationFormsDetectedMessage(password_generation_, 566 SetAccountCreationFormsDetectedMessage(password_generation_,
566 GetMainFrame()->document(), 0, 2); 567 GetMainFrame()->document(), 0, 2);
567 ExpectGenerationAvailable("password", false); 568 ExpectGenerationAvailable("password", false);
568 ExpectGenerationAvailable("newpassword", true); 569 ExpectGenerationAvailable("newpassword", true);
569 } 570 }
570 571
571 } // namespace autofill 572 } // namespace autofill
OLDNEW
« no previous file with comments | « chrome/renderer/autofill/password_autofill_agent_browsertest.cc ('k') | chrome/renderer/banners/app_banner_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698