OLD | NEW |
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 SYNC_UTIL_EXTENSIONS_ACTIVITY_MONITOR_H_ | 5 #ifndef SYNC_UTIL_EXTENSIONS_ACTIVITY_MONITOR_H_ |
6 #define SYNC_UTIL_EXTENSIONS_ACTIVITY_MONITOR_H_ | 6 #define SYNC_UTIL_EXTENSIONS_ACTIVITY_MONITOR_H_ |
7 #pragma once | |
8 | 7 |
9 #include <map> | 8 #include <map> |
10 #include <string> | 9 #include <string> |
11 | 10 |
12 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
13 | 12 |
14 namespace syncer { | 13 namespace syncer { |
15 | 14 |
16 // An interface to monitor usage of extensions APIs to send to sync | 15 // An interface to monitor usage of extensions APIs to send to sync |
17 // servers, with the ability to purge data once sync servers have | 16 // servers, with the ability to purge data once sync servers have |
(...skipping 26 matching lines...) Expand all Loading... |
44 // bookmark write counts for common Records. | 43 // bookmark write counts for common Records. |
45 virtual void PutRecords(const Records& records) = 0; | 44 virtual void PutRecords(const Records& records) = 0; |
46 | 45 |
47 protected: | 46 protected: |
48 virtual ~ExtensionsActivityMonitor(); | 47 virtual ~ExtensionsActivityMonitor(); |
49 }; | 48 }; |
50 | 49 |
51 } // namespace syncer | 50 } // namespace syncer |
52 | 51 |
53 #endif // SYNC_UTIL_EXTENSIONS_ACTIVITY_MONITOR_H_ | 52 #endif // SYNC_UTIL_EXTENSIONS_ACTIVITY_MONITOR_H_ |
OLD | NEW |