OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/glue/extension_sync.h" | 5 #include "chrome/browser/sync/glue/extension_sync.h" |
6 | 6 |
7 #include <utility> | 7 #include <utility> |
8 | 8 |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "chrome/browser/extensions/extension_updater.h" | 10 #include "chrome/browser/extensions/extension_updater.h" |
11 #include "chrome/browser/extensions/extensions_service.h" | 11 #include "chrome/browser/extensions/extensions_service.h" |
12 #include "chrome/browser/profile.h" | 12 #include "chrome/browser/profiles/profile.h" |
13 #include "chrome/browser/sync/engine/syncapi.h" | 13 #include "chrome/browser/sync/engine/syncapi.h" |
14 #include "chrome/browser/sync/glue/extension_data.h" | 14 #include "chrome/browser/sync/glue/extension_data.h" |
15 #include "chrome/browser/sync/glue/extension_sync_traits.h" | 15 #include "chrome/browser/sync/glue/extension_sync_traits.h" |
16 #include "chrome/browser/sync/profile_sync_service.h" | 16 #include "chrome/browser/sync/profile_sync_service.h" |
17 | 17 |
18 namespace browser_sync { | 18 namespace browser_sync { |
19 | 19 |
20 bool RootNodeHasChildren(const char* tag, | 20 bool RootNodeHasChildren(const char* tag, |
21 ProfileSyncService* sync_service, | 21 ProfileSyncService* sync_service, |
22 bool* has_children) { | 22 bool* has_children) { |
(...skipping 463 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
486 } else { | 486 } else { |
487 LOG(WARNING) << "Ignoring server data for invalid or " | 487 LOG(WARNING) << "Ignoring server data for invalid or " |
488 << "non-syncable extension " << extension->id(); | 488 << "non-syncable extension " << extension->id(); |
489 } | 489 } |
490 } else { | 490 } else { |
491 LOG(ERROR) << "Trying to uninstall nonexistent extension " << id; | 491 LOG(ERROR) << "Trying to uninstall nonexistent extension " << id; |
492 } | 492 } |
493 } | 493 } |
494 | 494 |
495 } // namespace browser_sync | 495 } // namespace browser_sync |
OLD | NEW |