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

Side by Side Diff: components/sync/driver/about_sync_util.h

Issue 2388673002: Revert of [Sync] Move //components/sync to the syncer namespace. (patchset #5 id:40001 of https://co (Closed)
Patch Set: Created 4 years, 2 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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 COMPONENTS_SYNC_DRIVER_ABOUT_SYNC_UTIL_H_ 5 #ifndef COMPONENTS_SYNC_DRIVER_ABOUT_SYNC_UTIL_H_
6 #define COMPONENTS_SYNC_DRIVER_ABOUT_SYNC_UTIL_H_ 6 #define COMPONENTS_SYNC_DRIVER_ABOUT_SYNC_UTIL_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "components/version_info/version_info.h" 10 #include "components/version_info/version_info.h"
11 11
12 class SigninManagerBase; 12 class SigninManagerBase;
13 13
14 namespace base { 14 namespace base {
15 class DictionaryValue; 15 class DictionaryValue;
16 } 16 }
17 17
18 namespace syncer { 18 namespace sync_driver {
19 19
20 class SyncService; 20 class SyncService;
21 21
22 namespace sync_ui_util { 22 namespace sync_ui_util {
23 23
24 // These strings are used from logs to pull out specific data from sync; we 24 // These strings are used from logs to pull out specific data from sync; we
25 // don't want these to ever go out of sync between the logs and sync util. 25 // don't want these to ever go out of sync between the logs and sync util.
26 extern const char kIdentityTitle[]; 26 extern const char kIdentityTitle[];
27 extern const char kDetailsKey[]; 27 extern const char kDetailsKey[];
28 28
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 extern const char kOnProtocolEvent[]; 60 extern const char kOnProtocolEvent[];
61 extern const char kOnReceivedListOfTypes[]; 61 extern const char kOnReceivedListOfTypes[];
62 extern const char kStatus[]; 62 extern const char kStatus[];
63 extern const char kTypes[]; 63 extern const char kTypes[];
64 extern const char kUpdate[]; 64 extern const char kUpdate[];
65 65
66 // This function returns a DictionaryValue which contains all the information 66 // This function returns a DictionaryValue which contains all the information
67 // required to populate the 'About' tab of about:sync. 67 // required to populate the 'About' tab of about:sync.
68 // Note that |service| may be NULL. 68 // Note that |service| may be NULL.
69 std::unique_ptr<base::DictionaryValue> ConstructAboutInformation( 69 std::unique_ptr<base::DictionaryValue> ConstructAboutInformation(
70 SyncService* service, 70 sync_driver::SyncService* service,
71 SigninManagerBase* signin, 71 SigninManagerBase* signin,
72 version_info::Channel channel); 72 version_info::Channel channel);
73 73
74 } // namespace sync_ui_util 74 } // namespace sync_ui_util
75 75
76 } // namespace syncer 76 } // namespace sync_driver
77 77
78 #endif // COMPONENTS_SYNC_DRIVER_ABOUT_SYNC_UTIL_H_ 78 #endif // COMPONENTS_SYNC_DRIVER_ABOUT_SYNC_UTIL_H_
OLDNEW
« no previous file with comments | « components/sync/device_info/local_device_info_provider_unittest.cc ('k') | components/sync/driver/about_sync_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698