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

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

Issue 23257005: Move Feature and Manifest to top-level extensions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 4 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) 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/integration/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/strings/string_number_conversions.h" 8 #include "base/strings/string_number_conversions.h"
9 #include "chrome/browser/profiles/profile.h" 9 #include "chrome/browser/profiles/profile.h"
10 #include "chrome/browser/sync/test/integration/sync_app_helper.h" 10 #include "chrome/browser/sync/test/integration/sync_app_helper.h"
11 #include "chrome/browser/sync/test/integration/sync_datatype_helper.h" 11 #include "chrome/browser/sync/test/integration/sync_datatype_helper.h"
12 #include "chrome/browser/sync/test/integration/sync_extension_helper.h" 12 #include "chrome/browser/sync/test/integration/sync_extension_helper.h"
13 #include "chrome/common/extensions/manifest.h" 13 #include "extensions/common/manifest.h"
14 14
15 using sync_datatype_helper::test; 15 using sync_datatype_helper::test;
16 16
17 namespace { 17 namespace {
18 18
19 std::string CreateFakeAppName(int index) { 19 std::string CreateFakeAppName(int index) {
20 return "fakeapp" + base::IntToString(index); 20 return "fakeapp" + base::IntToString(index);
21 } 21 }
22 22
23 } // namespace 23 } // namespace
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 SetPageOrdinalForApp(destination, index, GetPageOrdinalForApp(source, index)); 120 SetPageOrdinalForApp(destination, index, GetPageOrdinalForApp(source, index));
121 SetAppLaunchOrdinalForApp( 121 SetAppLaunchOrdinalForApp(
122 destination, index, GetAppLaunchOrdinalForApp(source, index)); 122 destination, index, GetAppLaunchOrdinalForApp(source, index));
123 } 123 }
124 124
125 void FixNTPOrdinalCollisions(Profile* profile) { 125 void FixNTPOrdinalCollisions(Profile* profile) {
126 SyncAppHelper::GetInstance()->FixNTPOrdinalCollisions(profile); 126 SyncAppHelper::GetInstance()->FixNTPOrdinalCollisions(profile);
127 } 127 }
128 128
129 } // namespace apps_helper 129 } // namespace apps_helper
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698