OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_SEARCH_INSTANT_IO_CONTEXT_H_ | 5 #ifndef CHROME_BROWSER_SEARCH_INSTANT_IO_CONTEXT_H_ |
6 #define CHROME_BROWSER_SEARCH_INSTANT_IO_CONTEXT_H_ | 6 #define CHROME_BROWSER_SEARCH_INSTANT_IO_CONTEXT_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
12 | 12 |
13 class GURL; | |
14 | |
15 namespace content { | 13 namespace content { |
16 class ResourceContext; | 14 class ResourceContext; |
17 } | 15 } |
18 | 16 |
19 namespace net { | 17 namespace net { |
20 class URLRequest; | 18 class URLRequest; |
21 } | 19 } |
22 | 20 |
23 // IO thread data held for Instant. This reflects the data held in | 21 // IO thread data held for Instant. This reflects the data held in |
24 // InstantService for use on the IO thread. Owned by ResourceContext | 22 // InstantService for use on the IO thread. Owned by ResourceContext |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 | 62 |
65 // The process IDs associated with Instant processes. Mirror of the process | 63 // The process IDs associated with Instant processes. Mirror of the process |
66 // IDs in InstantService. Duplicated here for synchronous access on the IO | 64 // IDs in InstantService. Duplicated here for synchronous access on the IO |
67 // thread. | 65 // thread. |
68 std::set<int> process_ids_; | 66 std::set<int> process_ids_; |
69 | 67 |
70 DISALLOW_COPY_AND_ASSIGN(InstantIOContext); | 68 DISALLOW_COPY_AND_ASSIGN(InstantIOContext); |
71 }; | 69 }; |
72 | 70 |
73 #endif // CHROME_BROWSER_SEARCH_INSTANT_IO_CONTEXT_H_ | 71 #endif // CHROME_BROWSER_SEARCH_INSTANT_IO_CONTEXT_H_ |
OLD | NEW |