OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 COMPONENTS_OFFLINE_PAGES_CONTENT_BACKGROUND_LOADER_BACKGROUND_LOADER_CON
TENTS_H_ | 5 #ifndef COMPONENTS_OFFLINE_PAGES_CONTENT_BACKGROUND_LOADER_BACKGROUND_LOADER_CON
TENTS_H_ |
6 #define COMPONENTS_OFFLINE_PAGES_CONTENT_BACKGROUND_LOADER_BACKGROUND_LOADER_CON
TENTS_H_ | 6 #define COMPONENTS_OFFLINE_PAGES_CONTENT_BACKGROUND_LOADER_BACKGROUND_LOADER_CON
TENTS_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "content/public/browser/web_contents_delegate.h" | 10 #include "content/public/browser/web_contents_delegate.h" |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 void RequestMediaAccessPermission( | 68 void RequestMediaAccessPermission( |
69 content::WebContents* contents, | 69 content::WebContents* contents, |
70 const content::MediaStreamRequest& request, | 70 const content::MediaStreamRequest& request, |
71 const content::MediaResponseCallback& callback) override; | 71 const content::MediaResponseCallback& callback) override; |
72 bool CheckMediaAccessPermission(content::WebContents* contents, | 72 bool CheckMediaAccessPermission(content::WebContents* contents, |
73 const GURL& security_origin, | 73 const GURL& security_origin, |
74 content::MediaStreamType type) override; | 74 content::MediaStreamType type) override; |
75 | 75 |
76 private: | 76 private: |
77 friend class BackgroundLoaderContentsTest; | 77 friend class BackgroundLoaderContentsTest; |
| 78 friend class BackgroundLoaderContentsStub; |
| 79 |
78 BackgroundLoaderContents(); | 80 BackgroundLoaderContents(); |
79 | 81 |
80 std::unique_ptr<content::WebContents> web_contents_; | 82 std::unique_ptr<content::WebContents> web_contents_; |
81 content::BrowserContext* browser_context_; | 83 content::BrowserContext* browser_context_; |
82 | 84 |
83 DISALLOW_COPY_AND_ASSIGN(BackgroundLoaderContents); | 85 DISALLOW_COPY_AND_ASSIGN(BackgroundLoaderContents); |
84 }; | 86 }; |
85 | 87 |
86 } // namespace background_loader | 88 } // namespace background_loader |
87 #endif // COMPONENTS_OFFLINE_PAGES_CONTENT_BACKGROUND_LOADER_BACKGROUND_LOADER_
CONTENTS_H_ | 89 #endif // COMPONENTS_OFFLINE_PAGES_CONTENT_BACKGROUND_LOADER_BACKGROUND_LOADER_
CONTENTS_H_ |
OLD | NEW |