| 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 CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ |
| 6 #define CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ | 6 #define CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 net::SSLCertRequestInfo* cert_request_info, | 106 net::SSLCertRequestInfo* cert_request_info, |
| 107 const base::Callback<void(net::X509Certificate*)>& callback) OVERRIDE; | 107 const base::Callback<void(net::X509Certificate*)>& callback) OVERRIDE; |
| 108 virtual void AddNewCertificate( | 108 virtual void AddNewCertificate( |
| 109 net::URLRequest* request, | 109 net::URLRequest* request, |
| 110 net::X509Certificate* cert, | 110 net::X509Certificate* cert, |
| 111 int render_process_id, | 111 int render_process_id, |
| 112 int render_view_id) OVERRIDE; | 112 int render_view_id) OVERRIDE; |
| 113 virtual void RequestMediaAccessPermission( | 113 virtual void RequestMediaAccessPermission( |
| 114 const MediaStreamRequest* request, | 114 const MediaStreamRequest* request, |
| 115 const MediaResponseCallback& callback) OVERRIDE; | 115 const MediaResponseCallback& callback) OVERRIDE; |
| 116 virtual MediaObserver* GetMediaObserver() OVERRIDE; |
| 116 virtual void RequestDesktopNotificationPermission( | 117 virtual void RequestDesktopNotificationPermission( |
| 117 const GURL& source_origin, | 118 const GURL& source_origin, |
| 118 int callback_context, | 119 int callback_context, |
| 119 int render_process_id, | 120 int render_process_id, |
| 120 int render_view_id) OVERRIDE; | 121 int render_view_id) OVERRIDE; |
| 121 virtual WebKit::WebNotificationPresenter::Permission | 122 virtual WebKit::WebNotificationPresenter::Permission |
| 122 CheckDesktopNotificationPermission( | 123 CheckDesktopNotificationPermission( |
| 123 const GURL& source_origin, | 124 const GURL& source_origin, |
| 124 ResourceContext* context, | 125 ResourceContext* context, |
| 125 int render_process_id) OVERRIDE; | 126 int render_process_id) OVERRIDE; |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 179 private: | 180 private: |
| 180 // Temporary directory for GetDefaultDownloadDirectory. | 181 // Temporary directory for GetDefaultDownloadDirectory. |
| 181 ScopedTempDir download_dir_; | 182 ScopedTempDir download_dir_; |
| 182 | 183 |
| 183 DISALLOW_COPY_AND_ASSIGN(MockContentBrowserClient); | 184 DISALLOW_COPY_AND_ASSIGN(MockContentBrowserClient); |
| 184 }; | 185 }; |
| 185 | 186 |
| 186 } // namespace content | 187 } // namespace content |
| 187 | 188 |
| 188 #endif // CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ | 189 #endif // CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |