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

Side by Side Diff: chrome/browser/sync/test/integration/sync_app_helper.h

Issue 1308823002: Move Singleton and related structs to namespace base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ToT Created 5 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
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 #ifndef CHROME_BROWSER_SYNC_TEST_INTEGRATION_SYNC_APP_HELPER_H_ 5 #ifndef CHROME_BROWSER_SYNC_TEST_INTEGRATION_SYNC_APP_HELPER_H_
6 #define CHROME_BROWSER_SYNC_TEST_INTEGRATION_SYNC_APP_HELPER_H_ 6 #define CHROME_BROWSER_SYNC_TEST_INTEGRATION_SYNC_APP_HELPER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 // |profile|. 46 // |profile|.
47 void SetAppLaunchOrdinalForApp( 47 void SetAppLaunchOrdinalForApp(
48 Profile* profile, 48 Profile* profile,
49 const std::string& name, 49 const std::string& name,
50 const syncer::StringOrdinal& app_launch_ordinal); 50 const syncer::StringOrdinal& app_launch_ordinal);
51 51
52 // Fix any NTP icon collisions that are currently in |profile|. 52 // Fix any NTP icon collisions that are currently in |profile|.
53 void FixNTPOrdinalCollisions(Profile* profile); 53 void FixNTPOrdinalCollisions(Profile* profile);
54 54
55 private: 55 private:
56 friend struct DefaultSingletonTraits<SyncAppHelper>; 56 friend struct base::DefaultSingletonTraits<SyncAppHelper>;
57 57
58 SyncAppHelper(); 58 SyncAppHelper();
59 ~SyncAppHelper(); 59 ~SyncAppHelper();
60 60
61 bool setup_completed_; 61 bool setup_completed_;
62 62
63 DISALLOW_COPY_AND_ASSIGN(SyncAppHelper); 63 DISALLOW_COPY_AND_ASSIGN(SyncAppHelper);
64 }; 64 };
65 65
66 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_SYNC_APP_HELPER_H_ 66 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_SYNC_APP_HELPER_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync/sync_global_error_factory.cc ('k') | chrome/browser/sync/test/integration/sync_app_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698