summaryrefslogtreecommitdiff
path: root/chromium/chrome/renderer/loadtimes_extension_bindings.h
blob: e6a7e83c124a69eb25cb9cf4804bb64ddb9136ec (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
// Copyright (c) 2006-2008 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.

// The LoadTimesExtension is a v8 extension to access the time it took
// to load a page.

#ifndef CHROME_RENDERER_LOADTIMES_EXTENSION_BINDINGS_H_
#define CHROME_RENDERER_LOADTIMES_EXTENSION_BINDINGS_H_

#include <memory>

namespace v8 {
class Extension;
}

namespace extensions_v8 {

class LoadTimesExtension {
 public:
  static std::unique_ptr<v8::Extension> Get();
};

}  // namespace extensions_v8

#endif  // CHROME_RENDERER_LOADTIMES_EXTENSION_BINDINGS_H_