| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/extensions_activity_monitor.h" | 5 #include "chrome/browser/sync/glue/extensions_activity_monitor.h" |
| 6 | 6 |
| 7 #include "components/sync/base/extensions_activity.h" | 7 #include "components/sync/base/extensions_activity.h" |
| 8 #include "content/public/browser/browser_thread.h" | 8 #include "content/public/browser/browser_thread.h" |
| 9 #include "extensions/features/features.h" | |
| 10 | 9 |
| 11 #if BUILDFLAG(ENABLE_EXTENSIONS) | 10 #if BUILDFLAG(ENABLE_EXTENSIONS) |
| 12 #include "chrome/browser/chrome_notification_types.h" | 11 #include "chrome/browser/chrome_notification_types.h" |
| 13 #include "chrome/browser/extensions/api/bookmarks/bookmarks_api.h" | 12 #include "chrome/browser/extensions/api/bookmarks/bookmarks_api.h" |
| 14 #include "content/public/browser/notification_service.h" | 13 #include "content/public/browser/notification_service.h" |
| 15 #include "extensions/common/extension.h" | 14 #include "extensions/common/extension.h" |
| 16 #endif | 15 #endif |
| 17 | 16 |
| 18 using content::BrowserThread; | 17 using content::BrowserThread; |
| 19 | 18 |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 } | 64 } |
| 66 #endif | 65 #endif |
| 67 } | 66 } |
| 68 | 67 |
| 69 const scoped_refptr<syncer::ExtensionsActivity>& | 68 const scoped_refptr<syncer::ExtensionsActivity>& |
| 70 ExtensionsActivityMonitor::GetExtensionsActivity() { | 69 ExtensionsActivityMonitor::GetExtensionsActivity() { |
| 71 return extensions_activity_; | 70 return extensions_activity_; |
| 72 } | 71 } |
| 73 | 72 |
| 74 } // namespace browser_sync | 73 } // namespace browser_sync |
| OLD | NEW |