OLD | NEW |
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/themes/theme_syncable_service.h" | 5 #include "chrome/browser/themes/theme_syncable_service.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include "base/strings/stringprintf.h" | 9 #include "base/strings/stringprintf.h" |
8 #include "base/version.h" | 10 #include "base/version.h" |
9 #include "chrome/browser/extensions/extension_service.h" | 11 #include "chrome/browser/extensions/extension_service.h" |
10 #include "chrome/browser/profiles/profile.h" | 12 #include "chrome/browser/profiles/profile.h" |
11 #include "chrome/browser/themes/theme_service.h" | 13 #include "chrome/browser/themes/theme_service.h" |
12 #include "chrome/common/extensions/sync_helper.h" | 14 #include "chrome/common/extensions/sync_helper.h" |
13 #include "extensions/browser/extension_prefs.h" | 15 #include "extensions/browser/extension_prefs.h" |
14 #include "extensions/browser/extension_system.h" | 16 #include "extensions/browser/extension_system.h" |
15 #include "extensions/common/extension.h" | 17 #include "extensions/common/extension.h" |
16 #include "extensions/common/manifest_url_handlers.h" | 18 #include "extensions/common/manifest_url_handlers.h" |
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
337 syncer::SyncChange(FROM_HERE, change_type, | 339 syncer::SyncChange(FROM_HERE, change_type, |
338 syncer::SyncData::CreateLocalData( | 340 syncer::SyncData::CreateLocalData( |
339 kCurrentThemeClientTag, kCurrentThemeNodeTitle, | 341 kCurrentThemeClientTag, kCurrentThemeNodeTitle, |
340 entity_specifics))); | 342 entity_specifics))); |
341 | 343 |
342 DVLOG(1) << "Update theme specifics from current theme: " | 344 DVLOG(1) << "Update theme specifics from current theme: " |
343 << changes.back().ToString(); | 345 << changes.back().ToString(); |
344 | 346 |
345 return sync_processor_->ProcessSyncChanges(FROM_HERE, changes); | 347 return sync_processor_->ProcessSyncChanges(FROM_HERE, changes); |
346 } | 348 } |
OLD | NEW |