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

Unified Diff: components/sync/core/user_share.h

Issue 2407163004: [Sync] Move some directory-related things from core/ to syncable/. (Closed)
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/sync/core/test/test_user_share.h ('k') | components/sync/core/user_share.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/core/user_share.h
diff --git a/components/sync/core/user_share.h b/components/sync/core/user_share.h
deleted file mode 100644
index 1a97e6b82c4396a6fff9660df91600b716604647..0000000000000000000000000000000000000000
--- a/components/sync/core/user_share.h
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef COMPONENTS_SYNC_CORE_USER_SHARE_H_
-#define COMPONENTS_SYNC_CORE_USER_SHARE_H_
-
-#include <memory>
-#include <string>
-
-#include "components/sync/core/sync_manager.h"
-
-namespace syncer {
-
-namespace syncable {
-class Directory;
-}
-
-// A UserShare encapsulates the syncable pieces that represent an authenticated
-// user and their data (share).
-// This encompasses all pieces required to build transaction objects on the
-// syncable share.
-struct UserShare {
- UserShare();
- ~UserShare();
-
- // The Directory itself, which is the parent of Transactions.
- std::unique_ptr<syncable::Directory> directory;
-
- // The credentials used by sync when talking to the sync server.
- //
- // Note: some or all of the sync_credentials fields may be empty.
- SyncCredentials sync_credentials;
-};
-
-} // namespace syncer
-
-#endif // COMPONENTS_SYNC_CORE_USER_SHARE_H_
« no previous file with comments | « components/sync/core/test/test_user_share.h ('k') | components/sync/core/user_share.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698