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 #ifndef CHROME_BROWSER_SYNC_GLUE_HTTP_BRIDGE_H_ | 5 #ifndef CHROME_BROWSER_SYNC_GLUE_HTTP_BRIDGE_H_ |
6 #define CHROME_BROWSER_SYNC_GLUE_HTTP_BRIDGE_H_ | 6 #define CHROME_BROWSER_SYNC_GLUE_HTTP_BRIDGE_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/ref_counted.h" | 11 #include "base/ref_counted.h" |
12 #include "base/waitable_event.h" | 12 #include "base/synchronization/waitable_event.h" |
13 #include "chrome/browser/sync/engine/syncapi.h" | 13 #include "chrome/browser/sync/engine/syncapi.h" |
14 #include "chrome/common/net/url_fetcher.h" | 14 #include "chrome/common/net/url_fetcher.h" |
15 #include "chrome/common/net/url_request_context_getter.h" | 15 #include "chrome/common/net/url_request_context_getter.h" |
16 #include "googleurl/src/gurl.h" | 16 #include "googleurl/src/gurl.h" |
17 #include "net/url_request/url_request_context.h" | 17 #include "net/url_request/url_request_context.h" |
18 #include "testing/gtest/include/gtest/gtest_prod.h" | 18 #include "testing/gtest/include/gtest/gtest_prod.h" |
19 | 19 |
20 class MessageLoop; | 20 class MessageLoop; |
21 class HttpBridgeTest; | 21 class HttpBridgeTest; |
22 | 22 |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
203 // common components. | 203 // common components. |
204 HttpBridge::RequestContextGetter* GetRequestContextGetter(); | 204 HttpBridge::RequestContextGetter* GetRequestContextGetter(); |
205 scoped_refptr<HttpBridge::RequestContextGetter> request_context_getter_; | 205 scoped_refptr<HttpBridge::RequestContextGetter> request_context_getter_; |
206 DISALLOW_COPY_AND_ASSIGN(HttpBridgeFactory); | 206 DISALLOW_COPY_AND_ASSIGN(HttpBridgeFactory); |
207 }; | 207 }; |
208 | 208 |
209 } // namespace browser_sync | 209 } // namespace browser_sync |
210 | 210 |
211 #endif // CHROME_BROWSER_SYNC_GLUE_HTTP_BRIDGE_H_ | 211 #endif // CHROME_BROWSER_SYNC_GLUE_HTTP_BRIDGE_H_ |
212 | 212 |
OLD | NEW |