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_CROSS_SITE_REQUEST_MANAGER_H_ | 5 #ifndef CONTENT_BROWSER_CROSS_SITE_REQUEST_MANAGER_H_ |
6 #define CONTENT_BROWSER_CROSS_SITE_REQUEST_MANAGER_H_ | 6 #define CONTENT_BROWSER_CROSS_SITE_REQUEST_MANAGER_H_ |
7 #pragma once | |
8 | 7 |
9 #include <set> | 8 #include <set> |
10 #include <utility> | 9 #include <utility> |
11 | 10 |
12 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
13 #include "base/synchronization/lock.h" | 12 #include "base/synchronization/lock.h" |
14 | 13 |
15 template <typename T> struct DefaultSingletonTraits; | 14 template <typename T> struct DefaultSingletonTraits; |
16 | 15 |
17 // CrossSiteRequestManager is used to handle bookkeeping for cross-site | 16 // CrossSiteRequestManager is used to handle bookkeeping for cross-site |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 | 50 |
52 // Set of (render_process_host_id, render_view_id) pairs of all | 51 // Set of (render_process_host_id, render_view_id) pairs of all |
53 // RenderViewHosts that have pending cross-site requests. Used to pass | 52 // RenderViewHosts that have pending cross-site requests. Used to pass |
54 // information about the RenderViewHosts between the UI and IO threads. | 53 // information about the RenderViewHosts between the UI and IO threads. |
55 RenderViewSet pending_cross_site_views_; | 54 RenderViewSet pending_cross_site_views_; |
56 | 55 |
57 DISALLOW_COPY_AND_ASSIGN(CrossSiteRequestManager); | 56 DISALLOW_COPY_AND_ASSIGN(CrossSiteRequestManager); |
58 }; | 57 }; |
59 | 58 |
60 #endif // CONTENT_BROWSER_CROSS_SITE_REQUEST_MANAGER_H_ | 59 #endif // CONTENT_BROWSER_CROSS_SITE_REQUEST_MANAGER_H_ |
OLD | NEW |