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

Side by Side Diff: sync/internal_api/test_user_share.cc

Issue 10147003: [Sync] Move 'syncapi_core' and 'sync_unit_tests' targets to sync/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Win update errors Created 8 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « sync/internal_api/test_user_share.h ('k') | sync/internal_api/user_share.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 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 #include "chrome/browser/sync/test/engine/test_user_share.h" 5 #include "sync/internal_api/test_user_share.h"
6 6
7 #include "base/compiler_specific.h" 7 #include "base/compiler_specific.h"
8 #include "testing/gtest/include/gtest/gtest.h"
8 9
9 namespace browser_sync { 10 namespace browser_sync {
10 11
11 TestUserShare::TestUserShare() {} 12 TestUserShare::TestUserShare() {}
12 13
13 TestUserShare::~TestUserShare() { 14 TestUserShare::~TestUserShare() {
14 if (user_share_.get()) 15 if (user_share_.get())
15 ADD_FAILURE() << "Should have called TestUserShare::TearDown()"; 16 ADD_FAILURE() << "Should have called TestUserShare::TearDown()";
16 } 17 }
17 18
(...skipping 12 matching lines...) Expand all
30 31
31 user_share_.reset(); 32 user_share_.reset();
32 dir_maker_.TearDown(); 33 dir_maker_.TearDown();
33 } 34 }
34 35
35 sync_api::UserShare* TestUserShare::user_share() { 36 sync_api::UserShare* TestUserShare::user_share() {
36 return user_share_.get(); 37 return user_share_.get();
37 } 38 }
38 39
39 } // namespace browser_sync 40 } // namespace browser_sync
OLDNEW
« no previous file with comments | « sync/internal_api/test_user_share.h ('k') | sync/internal_api/user_share.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698