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

Side by Side Diff: chrome/browser/password_manager_delegate_impl.cc

Issue 6598057: Split infobar_delegate.[cc,h] into separate pieces for the different classes defined within, so that (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix mac Created 9 years, 9 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_delegate_impl.h" 5 #include "chrome/browser/password_manager_delegate_impl.h"
6 6
7 #include "base/metrics/histogram.h" 7 #include "base/metrics/histogram.h"
8 #include "base/singleton.h" 8 #include "base/singleton.h"
9 #include "chrome/browser/password_manager/password_form_manager.h" 9 #include "chrome/browser/password_manager/password_form_manager.h"
10 #include "chrome/browser/password_manager/password_manager.h" 10 #include "chrome/browser/password_manager/password_manager.h"
11 #include "chrome/browser/renderer_host/render_view_host.h" 11 #include "chrome/browser/renderer_host/render_view_host.h"
12 #include "chrome/browser/tab_contents/infobar_delegate.h" 12 #include "chrome/browser/tab_contents/confirm_infobar_delegate.h"
13 #include "chrome/browser/tab_contents/tab_contents.h" 13 #include "chrome/browser/tab_contents/tab_contents.h"
14 #include "chrome/common/autofill_messages.h" 14 #include "chrome/common/autofill_messages.h"
15 #include "grit/chromium_strings.h" 15 #include "grit/chromium_strings.h"
16 #include "grit/generated_resources.h" 16 #include "grit/generated_resources.h"
17 #include "grit/theme_resources.h" 17 #include "grit/theme_resources.h"
18 #include "ui/base/l10n/l10n_util.h" 18 #include "ui/base/l10n/l10n_util.h"
19 #include "ui/base/resource/resource_bundle.h" 19 #include "ui/base/resource/resource_bundle.h"
20 #include "webkit/glue/password_form.h" 20 #include "webkit/glue/password_form.h"
21 21
22 // After a successful *new* login attempt, we take the PasswordFormManager in 22 // After a successful *new* login attempt, we take the PasswordFormManager in
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 } 125 }
126 126
127 Profile* PasswordManagerDelegateImpl::GetProfileForPasswordManager() { 127 Profile* PasswordManagerDelegateImpl::GetProfileForPasswordManager() {
128 return tab_contents_->profile(); 128 return tab_contents_->profile();
129 } 129 }
130 130
131 bool PasswordManagerDelegateImpl::DidLastPageLoadEncounterSSLErrors() { 131 bool PasswordManagerDelegateImpl::DidLastPageLoadEncounterSSLErrors() {
132 return tab_contents_->controller().ssl_manager()-> 132 return tab_contents_->controller().ssl_manager()->
133 ProcessedSSLErrorFromRequest(); 133 ProcessedSSLErrorFromRequest();
134 } 134 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698