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

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

Issue 108283005: Moved ipc-specific files from autofill/core to autofill/content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: "Final" fix. Created 7 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
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/content/browser/autofill_driver_impl.h" 16 #include "components/autofill/content/browser/autofill_driver_impl.h"
17 #include "components/autofill/content/common/autofill_messages.h"
17 #include "components/autofill/core/browser/form_structure.h" 18 #include "components/autofill/core/browser/form_structure.h"
18 #include "components/autofill/core/browser/validation.h" 19 #include "components/autofill/core/browser/validation.h"
19 #include "components/autofill/core/common/autofill_messages.h"
20 #include "components/autofill/core/common/password_form.h" 20 #include "components/autofill/core/common/password_form.h"
21 #include "content/public/browser/render_view_host.h" 21 #include "content/public/browser/render_view_host.h"
22 #include "content/public/browser/web_contents.h" 22 #include "content/public/browser/web_contents.h"
23 23
24 using autofill::FormStructure; 24 using autofill::FormStructure;
25 using autofill::PasswordForm; 25 using autofill::PasswordForm;
26 using autofill::PasswordFormMap; 26 using autofill::PasswordFormMap;
27 using base::Time; 27 using base::Time;
28 28
29 PasswordFormManager::PasswordFormManager(Profile* profile, 29 PasswordFormManager::PasswordFormManager(Profile* profile,
(...skipping 620 matching lines...) Expand 10 before | Expand all | Expand 10 after
650 650
651 void PasswordFormManager::SubmitFailed() { 651 void PasswordFormManager::SubmitFailed() {
652 submit_result_ = kSubmitResultFailed; 652 submit_result_ = kSubmitResultFailed;
653 } 653 }
654 654
655 void PasswordFormManager::SendNotBlacklistedToRenderer() { 655 void PasswordFormManager::SendNotBlacklistedToRenderer() {
656 content::RenderViewHost* host = web_contents_->GetRenderViewHost(); 656 content::RenderViewHost* host = web_contents_->GetRenderViewHost();
657 host->Send(new AutofillMsg_FormNotBlacklisted(host->GetRoutingID(), 657 host->Send(new AutofillMsg_FormNotBlacklisted(host->GetRoutingID(),
658 observed_form_)); 658 observed_form_));
659 } 659 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698