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

Side by Side Diff: components/sync/engine_impl/net/loopback_connection_manager.h

Issue 2106743002: WIP: Local sync only... (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix after rebase. Created 4 years, 2 months 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
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef COMPONENTS_SYNC_ENGINE_IMPL_NET_LOOPBACK_CONNECTION_MANAGER_H_
6 #define COMPONENTS_SYNC_ENGINE_IMPL_NET_LOOPBACK_CONNECTION_MANAGER_H_
7
8 #include <string>
9
10 #include "components/sync/engine_impl/net/loopback_server/loopback_server.h"
11 #include "components/sync/engine_impl/net/server_connection_manager.h"
12
13 namespace syncer {
14
15 class LoopbackConnectionManager : public ServerConnectionManager {
16 public:
17 LoopbackConnectionManager(syncable::Directory*, CancelationSignal* signal);
18 ~LoopbackConnectionManager() override;
19
20 protected:
21 // Overridden ServerConnectionManager functions.
22 bool PostBufferToPath(PostBufferParams* params,
23 const std::string& path,
24 const std::string& auth_token) override;
25
26 private:
27 // The loopback server that will handle the requests locally.
28 LoopbackServer loopback_server_;
29
30 DISALLOW_COPY_AND_ASSIGN(LoopbackConnectionManager);
31 };
32
33 } // namespace syncer
34
35 #endif // COMPONENTS_SYNC_ENGINE_IMPL_NET_LOOPBACK_CONNECTION_MANAGER_H_
OLDNEW
« no previous file with comments | « components/sync/driver/startup_controller.cc ('k') | components/sync/engine_impl/net/loopback_connection_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698