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

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

Issue 2965015: Attempt four at landing the "histogram.h removed from message_loop.h" patch. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: win build fixes Created 10 years, 5 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
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 7
8 #include <map>
9
8 #include "base/lock.h" 10 #include "base/lock.h"
9 #include "base/message_loop.h" 11 #include "base/message_loop.h"
10 #include "base/ref_counted.h" 12 #include "base/ref_counted.h"
11 #include "chrome/common/notification_observer.h" 13 #include "chrome/common/notification_observer.h"
12 #include "chrome/common/notification_registrar.h" 14 #include "chrome/common/notification_registrar.h"
13 15
14 namespace browser_sync { 16 namespace browser_sync {
15 17
16 // 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
17 // 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
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 Records records_; 64 Records records_;
63 mutable Lock records_lock_; 65 mutable Lock records_lock_;
64 66
65 // Used only from UI loop. 67 // Used only from UI loop.
66 NotificationRegistrar registrar_; 68 NotificationRegistrar registrar_;
67 }; 69 };
68 70
69 } // namespace browser_sync 71 } // namespace browser_sync
70 72
71 #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/spellcheck_host.h ('k') | chrome/browser/translate/translate_infobar_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698