WebViewDatabaseAdapter.java revision aadb04e4198e1f0dce390e9434cb189603b8e713
1/* 2 * Copyright (C) 2012 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17package com.android.webview.chromium; 18 19import android.webkit.WebViewDatabase; 20 21/** 22 * Chromium implementation of WebViewDatabase -- forwards calls to the 23 * chromium internal implementation. 24 */ 25final class WebViewDatabaseAdapter extends WebViewDatabase { 26 @Override 27 public boolean hasUsernamePassword() { 28 UnimplementedWebViewApi.invoke(); 29 return false; 30 } 31 32 @Override 33 public void clearUsernamePassword() { 34 UnimplementedWebViewApi.invoke(); 35 } 36 37 @Override 38 public boolean hasHttpAuthUsernamePassword() { 39 UnimplementedWebViewApi.invoke(); 40 return false; 41 } 42 43 @Override 44 public void clearHttpAuthUsernamePassword() { 45 UnimplementedWebViewApi.invoke(); 46 } 47 48 @Override 49 public boolean hasFormData() { 50 UnimplementedWebViewApi.invoke(); 51 return false; 52 } 53 54 @Override 55 public void clearFormData() { 56 UnimplementedWebViewApi.invoke(); 57 } 58}