summaryrefslogtreecommitdiffstats
path: root/content/common/content_counters.h
blob: be8787b2b17f9bd4701787e818f69ef4f6e7b38b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// Counters used within the browser.

#ifndef CONTENT_COMMON_CONTENT_COUNTERS_H_
#define CONTENT_COMMON_CONTENT_COUNTERS_H_
#pragma once

#include "content/common/content_export.h"

namespace base {
class StatsCounter;
class StatsCounterTimer;
}

namespace content {

class Counters {
 public:
  // The amount of time spent in chrome initialization.
  CONTENT_EXPORT static base::StatsCounterTimer& chrome_main();

  // The amount of time spent in renderer initialization.
  static base::StatsCounterTimer& renderer_main();
};

}  // namespace content

#endif  // CONTENT_COMMON_CONTENT_COUNTERS_H_