OLD | NEW |
(Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_BROWSER_METRICS_CHROME_BROWSER_MAIN_EXTRA_PARTS_METRICS_MAC_H_ |
| 6 #define CHROME_BROWSER_METRICS_CHROME_BROWSER_MAIN_EXTRA_PARTS_METRICS_MAC_H_ |
| 7 |
| 8 #include "base/macros.h" |
| 9 |
| 10 // This class records OSX metrics at start up, and during the lifetime of the |
| 11 // application. |
| 12 class ChromeBrowserMainExtraPartsMetricsMac { |
| 13 public: |
| 14 ChromeBrowserMainExtraPartsMetricsMac(); |
| 15 ~ChromeBrowserMainExtraPartsMetricsMac(); |
| 16 |
| 17 private: |
| 18 // A pointer to the ObjC bridge used to listen to NSNotificationCenter |
| 19 // notifications. Casted to a void* so that this file can be included in C++ |
| 20 // translation units. |
| 21 void* metrics_bridge_; |
| 22 |
| 23 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainExtraPartsMetricsMac); |
| 24 }; |
| 25 |
| 26 #endif // CHROME_BROWSER_METRICS_CHROME_BROWSER_MAIN_EXTRA_PARTS_METRICS_MAC_H_ |
OLD | NEW |