| 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 CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| 6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <utility> | 10 #include <utility> |
| (...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 337 permissions_policy_delegate_; | 337 permissions_policy_delegate_; |
| 338 | 338 |
| 339 // The prerender tracker used to determine whether a render process is used | 339 // The prerender tracker used to determine whether a render process is used |
| 340 // for prerendering and an override cookie store must be provided. | 340 // for prerendering and an override cookie store must be provided. |
| 341 // This needs to be kept as a member rather than just looked up from | 341 // This needs to be kept as a member rather than just looked up from |
| 342 // the profile due to initialization ordering, as well as due to threading. | 342 // the profile due to initialization ordering, as well as due to threading. |
| 343 // It is initialized on the UI thread when the ResoureDispatcherHost is | 343 // It is initialized on the UI thread when the ResoureDispatcherHost is |
| 344 // created. It is used only the IO thread. | 344 // created. It is used only the IO thread. |
| 345 prerender::PrerenderTracker* prerender_tracker_; | 345 prerender::PrerenderTracker* prerender_tracker_; |
| 346 | 346 |
| 347 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 347 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
| 348 | 348 |
| 349 friend class DisableWebRtcEncryptionFlagTest; | 349 friend class DisableWebRtcEncryptionFlagTest; |
| 350 | 350 |
| 351 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 351 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
| 352 }; | 352 }; |
| 353 | 353 |
| 354 } // namespace chrome | 354 } // namespace chrome |
| 355 | 355 |
| 356 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 356 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |