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

Unified Diff: chrome/browser/feedback/system_logs/log_sources/chrome_internal_log_source.cc

Issue 1334173006: Move sync_internals resources and constants to //components. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gcmInternals
Patch Set: Rebase 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/BUILD.gn ('k') | chrome/browser/resources/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/feedback/system_logs/log_sources/chrome_internal_log_source.cc
diff --git a/chrome/browser/feedback/system_logs/log_sources/chrome_internal_log_source.cc b/chrome/browser/feedback/system_logs/log_sources/chrome_internal_log_source.cc
index a534f9320bec161d8d5f2973b7da5e86b014d63b..39b3d45402f62126eae418d64334e64bd6d1f618 100644
--- a/chrome/browser/feedback/system_logs/log_sources/chrome_internal_log_source.cc
+++ b/chrome/browser/feedback/system_logs/log_sources/chrome_internal_log_source.cc
@@ -86,12 +86,12 @@ void ChromeInternalLogSource::PopulateSyncLogs(SystemLogsResponse* response) {
ProfileSyncService* service =
ProfileSyncServiceFactory::GetInstance()->GetForProfile(profile);
scoped_ptr<base::DictionaryValue> sync_logs(
- sync_ui_util::ConstructAboutInformation(
+ sync_driver::sync_ui_util::ConstructAboutInformation(
service, service->signin(), chrome::GetChannel()));
// Remove identity section.
base::ListValue* details = NULL;
- sync_logs->GetList(kDetailsKey, &details);
+ sync_logs->GetList(sync_driver::sync_ui_util::kDetailsKey, &details);
if (!details)
return;
for (base::ListValue::iterator it = details->begin();
@@ -100,7 +100,7 @@ void ChromeInternalLogSource::PopulateSyncLogs(SystemLogsResponse* response) {
if ((*it)->GetAsDictionary(&dict)) {
std::string title;
dict->GetString("title", &title);
- if (title == kIdentityTitle) {
+ if (title == sync_driver::sync_ui_util::kIdentityTitle) {
details->Erase(it, NULL);
break;
}
« no previous file with comments | « chrome/BUILD.gn ('k') | chrome/browser/resources/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698