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

Side by Side Diff: chrome/browser/sync/glue/chrome_extensions_activity_monitor.h

Issue 9699057: [Sync] Move 'sync' target to sync/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address Tim's comments Created 8 years, 9 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 | Annotate | Revision Log
OLDNEW
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 #ifndef CHROME_BROWSER_SYNC_GLUE_CHROME_EXTENSIONS_ACTIVITY_MONITOR_H_ 5 #ifndef CHROME_BROWSER_SYNC_GLUE_CHROME_EXTENSIONS_ACTIVITY_MONITOR_H_
6 #define CHROME_BROWSER_SYNC_GLUE_CHROME_EXTENSIONS_ACTIVITY_MONITOR_H_ 6 #define CHROME_BROWSER_SYNC_GLUE_CHROME_EXTENSIONS_ACTIVITY_MONITOR_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/synchronization/lock.h" 10 #include "base/synchronization/lock.h"
11 #include "chrome/browser/sync/util/extensions_activity_monitor.h"
12 #include "content/public/browser/notification_observer.h" 11 #include "content/public/browser/notification_observer.h"
13 #include "content/public/browser/notification_registrar.h" 12 #include "content/public/browser/notification_registrar.h"
13 #include "sync/util/extensions_activity_monitor.h"
14 14
15 namespace browser_sync { 15 namespace browser_sync {
16 16
17 // Chrome-specific implementation of ExtensionsActivityMonitor. 17 // Chrome-specific implementation of ExtensionsActivityMonitor.
18 // 18 //
19 // As per the requirements of ExtensionsActivityMonitor, all 19 // As per the requirements of ExtensionsActivityMonitor, all
20 // overridden methods are thread-safe, although this class must be 20 // overridden methods are thread-safe, although this class must be
21 // created and destroyed on the UI thread. 21 // created and destroyed on the UI thread.
22 class ChromeExtensionsActivityMonitor 22 class ChromeExtensionsActivityMonitor
23 : public ExtensionsActivityMonitor, content::NotificationObserver { 23 : public ExtensionsActivityMonitor, content::NotificationObserver {
(...skipping 14 matching lines...) Expand all
38 Records records_; 38 Records records_;
39 mutable base::Lock records_lock_; 39 mutable base::Lock records_lock_;
40 40
41 // Used only on UI loop. 41 // Used only on UI loop.
42 content::NotificationRegistrar registrar_; 42 content::NotificationRegistrar registrar_;
43 }; 43 };
44 44
45 } // namespace browser_sync 45 } // namespace browser_sync
46 46
47 #endif // CHROME_BROWSER_SYNC_GLUE_CHROME_EXTENSIONS_ACTIVITY_MONITOR_H_ 47 #endif // CHROME_BROWSER_SYNC_GLUE_CHROME_EXTENSIONS_ACTIVITY_MONITOR_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/chrome_encryptor.h ('k') | chrome/browser/sync/glue/chrome_sync_notification_bridge_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698