summaryrefslogtreecommitdiffstats
path: root/extensions/browser/guest_view/guest_view_events.h
blob: ba7e496152f15ff6d8f2fd5b81c474803bc47ee4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright 2015 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.

#ifndef EXTENSIONS_BROWSER_GUEST_VIEW_GUEST_VIEW_EVENTS_H_
#define EXTENSIONS_BROWSER_GUEST_VIEW_GUEST_VIEW_EVENTS_H_

#include <string>

#include "extensions/browser/extension_event_histogram_value.h"

namespace extensions {
namespace guest_view_events {

// Returns the events::HistogramValue for the |event_name| guest view event.
// This knows about all events for all guest view types, whether web view,
// extension options, the guest view base class, etc.
events::HistogramValue GetEventHistogramValue(const std::string& event_name);

}  // namespace guest_view_events
}  // namespace extensions

#endif  // EXTENSIONS_BROWSER_GUEST_VIEW_GUEST_VIEW_EVENTS_H_