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

Side by Side Diff: chrome/browser/sync/util/extensions_activity_monitor.h

Issue 3181028: FBTB: Remove unneeded #includes of base/ref_counted.h and base/string16.h in src/chrome. (Closed)
Patch Set: should now build? Created 10 years, 4 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
« no previous file with comments | « chrome/browser/sync/glue/database_model_worker.h ('k') | chrome/browser/wrench_menu_model.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 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 #ifndef CHROME_BROWSER_SYNC_UTIL_EXTENSIONS_ACTIVITY_MONITOR_H_ 5 #ifndef CHROME_BROWSER_SYNC_UTIL_EXTENSIONS_ACTIVITY_MONITOR_H_
6 #define CHROME_BROWSER_SYNC_UTIL_EXTENSIONS_ACTIVITY_MONITOR_H_ 6 #define CHROME_BROWSER_SYNC_UTIL_EXTENSIONS_ACTIVITY_MONITOR_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 10
11 #include "base/lock.h" 11 #include "base/lock.h"
12 #include "base/message_loop.h" 12 #include "base/message_loop.h"
13 #include "base/ref_counted.h"
14 #include "chrome/common/notification_observer.h" 13 #include "chrome/common/notification_observer.h"
15 #include "chrome/common/notification_registrar.h" 14 #include "chrome/common/notification_registrar.h"
16 15
17 namespace browser_sync { 16 namespace browser_sync {
18 17
19 // A class to monitor usage of extensions APIs to send to sync servers, with 18 // A class to monitor usage of extensions APIs to send to sync servers, with
20 // the ability to purge data once sync servers have acknowledged it (successful 19 // the ability to purge data once sync servers have acknowledged it (successful
21 // commit response). 20 // commit response).
22 // 21 //
23 // This can be used from any thread (it is a 'monitor' in the synchronization 22 // This can be used from any thread (it is a 'monitor' in the synchronization
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 Records records_; 64 Records records_;
66 mutable Lock records_lock_; 65 mutable Lock records_lock_;
67 66
68 // Used only from UI loop. 67 // Used only from UI loop.
69 NotificationRegistrar registrar_; 68 NotificationRegistrar registrar_;
70 }; 69 };
71 70
72 } // namespace browser_sync 71 } // namespace browser_sync
73 72
74 #endif // CHROME_BROWSER_SYNC_UTIL_EXTENSIONS_ACTIVITY_MONITOR_H_ 73 #endif // CHROME_BROWSER_SYNC_UTIL_EXTENSIONS_ACTIVITY_MONITOR_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/database_model_worker.h ('k') | chrome/browser/wrench_menu_model.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698