| OLD | NEW |
| 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 #ifndef ANDROID_WEBVIEW_BROWSER_AW_CONTENTS_IO_THREAD_CLIENT_H_ | 5 #ifndef ANDROID_WEBVIEW_BROWSER_AW_CONTENTS_IO_THREAD_CLIENT_H_ |
| 6 #define ANDROID_WEBVIEW_BROWSER_AW_CONTENTS_IO_THREAD_CLIENT_H_ | 6 #define ANDROID_WEBVIEW_BROWSER_AW_CONTENTS_IO_THREAD_CLIENT_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 // Retrieve the AllowFileAccess setting value of this AwContents. | 92 // Retrieve the AllowFileAccess setting value of this AwContents. |
| 93 // This method is called on the IO thread only. | 93 // This method is called on the IO thread only. |
| 94 virtual bool ShouldBlockFileUrls() const = 0; | 94 virtual bool ShouldBlockFileUrls() const = 0; |
| 95 | 95 |
| 96 // Retrieve the BlockNetworkLoads setting value of this AwContents. | 96 // Retrieve the BlockNetworkLoads setting value of this AwContents. |
| 97 // This method is called on the IO thread only. | 97 // This method is called on the IO thread only. |
| 98 virtual bool ShouldBlockNetworkLoads() const = 0; | 98 virtual bool ShouldBlockNetworkLoads() const = 0; |
| 99 | 99 |
| 100 // Retrieve the AcceptThirdPartyCookies setting value of this AwContents. | 100 // Retrieve the AcceptThirdPartyCookies setting value of this AwContents. |
| 101 virtual bool ShouldAcceptThirdPartyCookies() const = 0; | 101 virtual bool ShouldAcceptThirdPartyCookies() const = 0; |
| 102 |
| 103 // Retrieve the SafeBrowsingEnabled setting value of this AwContents. |
| 104 virtual bool GetSafeBrowsingEnabled() const = 0; |
| 102 }; | 105 }; |
| 103 | 106 |
| 104 } // namespace android_webview | 107 } // namespace android_webview |
| 105 | 108 |
| 106 #endif // ANDROID_WEBVIEW_BROWSER_AW_CONTENTS_IO_THREAD_CLIENT_H_ | 109 #endif // ANDROID_WEBVIEW_BROWSER_AW_CONTENTS_IO_THREAD_CLIENT_H_ |
| OLD | NEW |