| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 #if defined(BROWSER_SYNC) | |
| 6 | |
| 7 #ifndef CHROME_BROWSER_SYNC_GLUE_HTTP_BRIDGE_H_ | 5 #ifndef CHROME_BROWSER_SYNC_GLUE_HTTP_BRIDGE_H_ |
| 8 #define CHROME_BROWSER_SYNC_GLUE_HTTP_BRIDGE_H_ | 6 #define CHROME_BROWSER_SYNC_GLUE_HTTP_BRIDGE_H_ |
| 9 | 7 |
| 10 #include <string> | 8 #include <string> |
| 11 | 9 |
| 12 #include "base/ref_counted.h" | 10 #include "base/ref_counted.h" |
| 13 #include "base/waitable_event.h" | 11 #include "base/waitable_event.h" |
| 14 #include "chrome/browser/net/url_fetcher.h" | 12 #include "chrome/browser/net/url_fetcher.h" |
| 15 #include "chrome/browser/net/url_request_context_getter.h" | 13 #include "chrome/browser/net/url_request_context_getter.h" |
| 16 #include "chrome/browser/sync/engine/syncapi.h" | 14 #include "chrome/browser/sync/engine/syncapi.h" |
| (...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 // common components. | 191 // common components. |
| 194 HttpBridge::RequestContextGetter* GetRequestContextGetter(); | 192 HttpBridge::RequestContextGetter* GetRequestContextGetter(); |
| 195 // We must Release() this from the IO thread. | 193 // We must Release() this from the IO thread. |
| 196 HttpBridge::RequestContextGetter* request_context_getter_; | 194 HttpBridge::RequestContextGetter* request_context_getter_; |
| 197 DISALLOW_COPY_AND_ASSIGN(HttpBridgeFactory); | 195 DISALLOW_COPY_AND_ASSIGN(HttpBridgeFactory); |
| 198 }; | 196 }; |
| 199 | 197 |
| 200 } // namespace browser_sync | 198 } // namespace browser_sync |
| 201 | 199 |
| 202 #endif // CHROME_BROWSER_SYNC_GLUE_HTTP_BRIDGE_H_ | 200 #endif // CHROME_BROWSER_SYNC_GLUE_HTTP_BRIDGE_H_ |
| 203 | |
| 204 #endif // defined(BROWSER_SYNC) | |
| OLD | NEW |