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

Unified Diff: sync/internal_api/public/test/test_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/public/sync_manager.h ('k') | sync/internal_api/public/user_share.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/internal_api/public/test/test_user_share.h
diff --git a/sync/internal_api/test_user_share.h b/sync/internal_api/public/test/test_user_share.h
similarity index 83%
rename from sync/internal_api/test_user_share.h
rename to sync/internal_api/public/test/test_user_share.h
index b212e3c18c655f8aa1df6520404bb4999e97f547..7386b1880b2a544b325fc3450b7cfb5e38b3caf1 100644
--- a/sync/internal_api/test_user_share.h
+++ b/sync/internal_api/public/test/test_user_share.h
@@ -27,16 +27,17 @@
// }
//
-#ifndef SYNC_INTERNAL_API_TEST_USER_SHARE_H_
-#define SYNC_INTERNAL_API_TEST_USER_SHARE_H_
+#ifndef SYNC_INTERNAL_API_PUBLIC_TEST_TEST_USER_SHARE_H_
+#define SYNC_INTERNAL_API_PUBLIC_TEST_TEST_USER_SHARE_H_
#pragma once
#include "base/basictypes.h"
-#include "sync/internal_api/user_share.h"
-#include "sync/test/engine/test_directory_setter_upper.h"
+#include "sync/internal_api/public/user_share.h"
namespace browser_sync {
+class TestDirectorySetterUpper;
+
class TestUserShare {
public:
TestUserShare();
@@ -56,7 +57,7 @@ class TestUserShare {
sync_api::UserShare* user_share();
private:
- TestDirectorySetterUpper dir_maker_;
+ scoped_ptr<TestDirectorySetterUpper> dir_maker_;
scoped_ptr<sync_api::UserShare> user_share_;
DISALLOW_COPY_AND_ASSIGN(TestUserShare);
@@ -64,4 +65,4 @@ class TestUserShare {
} // namespace browser_sync
-#endif // SYNC_INTERNAL_API_TEST_USER_SHARE_H_
+#endif // SYNC_INTERNAL_API_PUBLIC_TEST_TEST_USER_SHARE_H_
« no previous file with comments | « sync/internal_api/public/sync_manager.h ('k') | sync/internal_api/public/user_share.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698