Home | History | Annotate | Download | only in browser
      1 // Copyright 2014 The Chromium Authors. All rights reserved.
      2 // Use of this source code is governed by a BSD-style license that can be
      3 // found in the LICENSE file.
      4 
      5 #include "components/password_manager/core/browser/stub_password_manager_driver.h"
      6 
      7 namespace password_manager {
      8 
      9 StubPasswordManagerDriver::StubPasswordManagerDriver() {
     10 }
     11 
     12 StubPasswordManagerDriver::~StubPasswordManagerDriver() {
     13 }
     14 
     15 void StubPasswordManagerDriver::FillPasswordForm(
     16     const autofill::PasswordFormFillData& form_data) {
     17 }
     18 
     19 bool StubPasswordManagerDriver::DidLastPageLoadEncounterSSLErrors() {
     20   return false;
     21 }
     22 
     23 bool StubPasswordManagerDriver::IsOffTheRecord() {
     24   return false;
     25 }
     26 
     27 void StubPasswordManagerDriver::AllowPasswordGenerationForForm(
     28     autofill::PasswordForm* form) {
     29 }
     30 
     31 void StubPasswordManagerDriver::AccountCreationFormsFound(
     32     const std::vector<autofill::FormData>& forms) {
     33 }
     34 
     35 void StubPasswordManagerDriver::FillSuggestion(const base::string16& username,
     36                                                const base::string16& password) {
     37 }
     38 
     39 void StubPasswordManagerDriver::PreviewSuggestion(
     40     const base::string16& username,
     41     const base::string16& password) {
     42 }
     43 
     44 void StubPasswordManagerDriver::ClearPreviewedForm() {
     45 }
     46 
     47 PasswordGenerationManager*
     48 StubPasswordManagerDriver::GetPasswordGenerationManager() {
     49   return NULL;
     50 }
     51 
     52 PasswordManager* StubPasswordManagerDriver::GetPasswordManager() {
     53   return NULL;
     54 }
     55 
     56 PasswordAutofillManager*
     57 StubPasswordManagerDriver::GetPasswordAutofillManager() {
     58   return NULL;
     59 }
     60 
     61 autofill::AutofillManager* StubPasswordManagerDriver::GetAutofillManager() {
     62   return NULL;
     63 }
     64 
     65 }  // namespace password_manager
     66