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

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

Issue 5606002: Move:... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_form_manager.h" 5 #include "chrome/browser/password_manager/password_form_manager.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/metrics/histogram.h" 9 #include "base/metrics/histogram.h"
10 #include "base/string_split.h" 10 #include "base/string_split.h"
11 #include "base/string_util.h" 11 #include "base/string_util.h"
12 #include "chrome/browser/password_manager/password_manager.h" 12 #include "chrome/browser/password_manager/password_manager.h"
13 #include "chrome/browser/profile.h" 13 #include "chrome/browser/profiles/profile.h"
14 #include "webkit/glue/password_form_dom_manager.h" 14 #include "webkit/glue/password_form_dom_manager.h"
15 15
16 using base::Time; 16 using base::Time;
17 using webkit_glue::PasswordForm; 17 using webkit_glue::PasswordForm;
18 using webkit_glue::PasswordFormMap; 18 using webkit_glue::PasswordFormMap;
19 19
20 PasswordFormManager::PasswordFormManager(Profile* profile, 20 PasswordFormManager::PasswordFormManager(Profile* profile,
21 PasswordManager* password_manager, 21 PasswordManager* password_manager,
22 const PasswordForm& observed_form, 22 const PasswordForm& observed_form,
23 bool ssl_valid) 23 bool ssl_valid)
(...skipping 455 matching lines...) Expand 10 before | Expand all | Expand 10 after
479 return score; 479 return score;
480 } 480 }
481 481
482 void PasswordFormManager::SubmitPassed() { 482 void PasswordFormManager::SubmitPassed() {
483 submit_result_ = kSubmitResultPassed; 483 submit_result_ = kSubmitResultPassed;
484 } 484 }
485 485
486 void PasswordFormManager::SubmitFailed() { 486 void PasswordFormManager::SubmitFailed() {
487 submit_result_ = kSubmitResultFailed; 487 submit_result_ = kSubmitResultFailed;
488 } 488 }
OLDNEW
« no previous file with comments | « chrome/browser/page_info_model.cc ('k') | chrome/browser/password_manager/password_form_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698