Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(959)

Side by Side Diff: chrome/test/sync/test_http_bridge_factory.h

Issue 337034: Remove the browser_sync flag. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_TEST_SYNC_TEST_HTTP_BRIDGE_FACTORY_H_ 5 #ifndef CHROME_TEST_SYNC_TEST_HTTP_BRIDGE_FACTORY_H_
6 #define CHROME_TEST_SYNC_TEST_HTTP_BRIDGE_FACTORY_H_ 6 #define CHROME_TEST_SYNC_TEST_HTTP_BRIDGE_FACTORY_H_
7 7
8 #if defined(BROWSER_SYNC)
9
10 #include "chrome/browser/sync/engine/syncapi.h" 8 #include "chrome/browser/sync/engine/syncapi.h"
11 9
12 namespace browser_sync { 10 namespace browser_sync {
13 11
14 class TestHttpBridge : public sync_api::HttpPostProviderInterface { 12 class TestHttpBridge : public sync_api::HttpPostProviderInterface {
15 public: 13 public:
16 virtual void SetUserAgent(const char* user_agent) {} 14 virtual void SetUserAgent(const char* user_agent) {}
17 15
18 // Add additional headers to the request. 16 // Add additional headers to the request.
19 virtual void SetExtraRequestHeaders(const char * headers) {} 17 virtual void SetExtraRequestHeaders(const char * headers) {}
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 ~TestHttpBridgeFactory() {} 55 ~TestHttpBridgeFactory() {}
58 56
59 virtual sync_api::HttpPostProviderInterface* Create() { 57 virtual sync_api::HttpPostProviderInterface* Create() {
60 return new TestHttpBridge(); 58 return new TestHttpBridge();
61 } 59 }
62 virtual void Destroy(sync_api::HttpPostProviderInterface* http) {} 60 virtual void Destroy(sync_api::HttpPostProviderInterface* http) {}
63 }; 61 };
64 62
65 } // namespace browser_sync 63 } // namespace browser_sync
66 64
67
68 #endif // defined(BROWSER_SYNC)
69 #endif // CHROME_TEST_SYNC_TEST_HTTP_BRIDGE_FACTORY_H_ 65 #endif // CHROME_TEST_SYNC_TEST_HTTP_BRIDGE_FACTORY_H_
OLDNEW
« no previous file with comments | « chrome/test/live_sync/two_client_live_bookmarks_sync_test.cc ('k') | chrome/test/testing_profile.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698