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

Side by Side Diff: chrome/browser/sync/test/integration/apps_helper.cc

Issue 7841007: Rename browser/sync/test/live_sync directory to browser/sync/test/integration (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: "" Created 9 years, 3 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/live_sync/apps_helper.h" 5 #include "chrome/browser/sync/test/integration/apps_helper.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/string_number_conversions.h" 8 #include "base/string_number_conversions.h"
9 #include "chrome/browser/profiles/profile.h" 9 #include "chrome/browser/profiles/profile.h"
10 #include "chrome/browser/sync/test/live_sync/sync_datatype_helper.h" 10 #include "chrome/browser/sync/test/integration/sync_datatype_helper.h"
11 #include "chrome/browser/sync/test/live_sync/sync_extension_helper.h" 11 #include "chrome/browser/sync/test/integration/sync_extension_helper.h"
12 #include "chrome/common/extensions/extension.h" 12 #include "chrome/common/extensions/extension.h"
13 13
14 using sync_datatype_helper::test; 14 using sync_datatype_helper::test;
15 15
16 namespace { 16 namespace {
17 17
18 std::string CreateFakeAppName(int index) { 18 std::string CreateFakeAppName(int index) {
19 return "fakeapp" + base::IntToString(index); 19 return "fakeapp" + base::IntToString(index);
20 } 20 }
21 21
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 return SyncExtensionHelper::GetInstance()->IncognitoDisableExtension( 69 return SyncExtensionHelper::GetInstance()->IncognitoDisableExtension(
70 profile, CreateFakeAppName(index)); 70 profile, CreateFakeAppName(index));
71 } 71 }
72 72
73 void InstallAppsPendingForSync(Profile* profile) { 73 void InstallAppsPendingForSync(Profile* profile) {
74 SyncExtensionHelper::GetInstance()->InstallExtensionsPendingForSync( 74 SyncExtensionHelper::GetInstance()->InstallExtensionsPendingForSync(
75 profile, Extension::TYPE_HOSTED_APP); 75 profile, Extension::TYPE_HOSTED_APP);
76 } 76 }
77 77
78 } // namespace apps_helper 78 } // namespace apps_helper
OLDNEW
« no previous file with comments | « chrome/browser/sync/test/integration/apps_helper.h ('k') | chrome/browser/sync/test/integration/autofill_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698