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

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

Issue 17392006: In components/autofill, move browser/ to core/browser/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to fix conflicts Created 7 years, 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/strings/string_split.h" 10 #include "base/strings/string_split.h"
11 #include "base/strings/string_util.h" 11 #include "base/strings/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/password_manager/password_store.h" 13 #include "chrome/browser/password_manager/password_store.h"
14 #include "chrome/browser/password_manager/password_store_factory.h" 14 #include "chrome/browser/password_manager/password_store_factory.h"
15 #include "chrome/browser/profiles/profile.h" 15 #include "chrome/browser/profiles/profile.h"
16 #include "components/autofill/browser/validation.h" 16 #include "components/autofill/core/browser/validation.h"
17 #include "components/autofill/core/common/autofill_messages.h" 17 #include "components/autofill/core/common/autofill_messages.h"
18 #include "content/public/browser/render_view_host.h" 18 #include "content/public/browser/render_view_host.h"
19 #include "content/public/browser/web_contents.h" 19 #include "content/public/browser/web_contents.h"
20 #include "content/public/common/password_form.h" 20 #include "content/public/common/password_form.h"
21 21
22 using base::Time; 22 using base::Time;
23 using content::PasswordForm; 23 using content::PasswordForm;
24 using content::PasswordFormMap; 24 using content::PasswordFormMap;
25 25
26 PasswordFormManager::PasswordFormManager(Profile* profile, 26 PasswordFormManager::PasswordFormManager(Profile* profile,
(...skipping 550 matching lines...) Expand 10 before | Expand all | Expand 10 after
577 577
578 void PasswordFormManager::SubmitFailed() { 578 void PasswordFormManager::SubmitFailed() {
579 submit_result_ = kSubmitResultFailed; 579 submit_result_ = kSubmitResultFailed;
580 } 580 }
581 581
582 void PasswordFormManager::SendNotBlacklistedToRenderer() { 582 void PasswordFormManager::SendNotBlacklistedToRenderer() {
583 content::RenderViewHost* host = web_contents_->GetRenderViewHost(); 583 content::RenderViewHost* host = web_contents_->GetRenderViewHost();
584 host->Send(new AutofillMsg_FormNotBlacklisted(host->GetRoutingID(), 584 host->Send(new AutofillMsg_FormNotBlacklisted(host->GetRoutingID(),
585 observed_form_)); 585 observed_form_));
586 } 586 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698