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

Side by Side Diff: chrome/browser/metrics/chrome_browser_main_extra_parts_metrics_mac.h

Issue 641453003: Add metrics for the number of attached displays. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698