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

Unified Diff: sync/internal_api/user_share.h

Issue 10534080: sync: move internal_api components used by chrome/browser into internal_api/public (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix test Created 8 years, 6 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 | « sync/internal_api/test_user_share.cc ('k') | sync/internal_api/user_share.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/internal_api/user_share.h
diff --git a/sync/internal_api/user_share.h b/sync/internal_api/user_share.h
deleted file mode 100644
index 275fa4220fda9c8ea12648ba1f7111d3f2c20f66..0000000000000000000000000000000000000000
--- a/sync/internal_api/user_share.h
+++ /dev/null
@@ -1,36 +0,0 @@
-// Copyright (c) 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 SYNC_INTERNAL_API_USER_SHARE_H_
-#define SYNC_INTERNAL_API_USER_SHARE_H_
-#pragma once
-
-#include <string>
-
-#include "base/memory/scoped_ptr.h"
-
-namespace syncable {
-class Directory;
-}
-
-namespace sync_api {
-
-// 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.
- scoped_ptr<syncable::Directory> directory;
-
- // The username of the sync user.
- std::string name;
-};
-
-}
-
-#endif // SYNC_INTERNAL_API_USER_SHARE_H_
« no previous file with comments | « sync/internal_api/test_user_share.cc ('k') | sync/internal_api/user_share.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698