| 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_PUBLIC_TEST_TEST_BROWSER_CONTEXT_H_ | 5 #ifndef CONTENT_PUBLIC_TEST_TEST_BROWSER_CONTEXT_H_ |
| 6 #define CONTENT_PUBLIC_TEST_TEST_BROWSER_CONTEXT_H_ | 6 #define CONTENT_PUBLIC_TEST_TEST_BROWSER_CONTEXT_H_ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/files/file_path.h" | 9 #include "base/files/file_path.h" |
| 10 #include "base/files/scoped_temp_dir.h" | 10 #include "base/files/scoped_temp_dir.h" |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 int render_process_id, | 44 int render_process_id, |
| 45 int render_view_id, | 45 int render_view_id, |
| 46 int bridge_id, | 46 int bridge_id, |
| 47 const GURL& requesting_frame, | 47 const GURL& requesting_frame, |
| 48 const MIDISysExPermissionCallback& callback) OVERRIDE; | 48 const MIDISysExPermissionCallback& callback) OVERRIDE; |
| 49 virtual void CancelMIDISysExPermissionRequest( | 49 virtual void CancelMIDISysExPermissionRequest( |
| 50 int render_process_id, | 50 int render_process_id, |
| 51 int render_view_id, | 51 int render_view_id, |
| 52 int bridge_id, | 52 int bridge_id, |
| 53 const GURL& requesting_frame) OVERRIDE; | 53 const GURL& requesting_frame) OVERRIDE; |
| 54 virtual void RequestProtectedMediaIdentifierPermission( |
| 55 int render_process_id, |
| 56 int render_view_id, |
| 57 int bridge_id, |
| 58 int group_id, |
| 59 const GURL& requesting_frame, |
| 60 const ProtectedMediaIdentifierPermissionCallback& callback) OVERRIDE; |
| 61 virtual void CancelProtectedMediaIdentifierPermissionRequests( |
| 62 int group_id) OVERRIDE; |
| 54 virtual ResourceContext* GetResourceContext() OVERRIDE; | 63 virtual ResourceContext* GetResourceContext() OVERRIDE; |
| 55 virtual GeolocationPermissionContext* | 64 virtual GeolocationPermissionContext* |
| 56 GetGeolocationPermissionContext() OVERRIDE; | 65 GetGeolocationPermissionContext() OVERRIDE; |
| 57 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; | 66 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; |
| 58 | 67 |
| 59 private: | 68 private: |
| 60 FRIEND_TEST_ALL_PREFIXES(DOMStorageTest, SessionOnly); | 69 FRIEND_TEST_ALL_PREFIXES(DOMStorageTest, SessionOnly); |
| 61 FRIEND_TEST_ALL_PREFIXES(DOMStorageTest, SaveSessionState); | 70 FRIEND_TEST_ALL_PREFIXES(DOMStorageTest, SaveSessionState); |
| 62 | 71 |
| 63 scoped_refptr<net::URLRequestContextGetter> request_context_; | 72 scoped_refptr<net::URLRequestContextGetter> request_context_; |
| 64 scoped_ptr<MockResourceContext> resource_context_; | 73 scoped_ptr<MockResourceContext> resource_context_; |
| 65 base::ScopedTempDir browser_context_dir_; | 74 base::ScopedTempDir browser_context_dir_; |
| 66 scoped_refptr<quota::SpecialStoragePolicy> special_storage_policy_; | 75 scoped_refptr<quota::SpecialStoragePolicy> special_storage_policy_; |
| 67 | 76 |
| 68 DISALLOW_COPY_AND_ASSIGN(TestBrowserContext); | 77 DISALLOW_COPY_AND_ASSIGN(TestBrowserContext); |
| 69 }; | 78 }; |
| 70 | 79 |
| 71 } // namespace content | 80 } // namespace content |
| 72 | 81 |
| 73 #endif // CONTENT_PUBLIC_TEST_TEST_BROWSER_CONTEXT_H_ | 82 #endif // CONTENT_PUBLIC_TEST_TEST_BROWSER_CONTEXT_H_ |
| OLD | NEW |