Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / extensions / browser / guest_view / guest_view_events.h
blobba7e496152f15ff6d8f2fd5b81c474803bc47ee4
1 // Copyright 2015 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.
5 #ifndef EXTENSIONS_BROWSER_GUEST_VIEW_GUEST_VIEW_EVENTS_H_
6 #define EXTENSIONS_BROWSER_GUEST_VIEW_GUEST_VIEW_EVENTS_H_
8 #include <string>
10 #include "extensions/browser/extension_event_histogram_value.h"
12 namespace extensions {
13 namespace guest_view_events {
15 // Returns the events::HistogramValue for the |event_name| guest view event.
16 // This knows about all events for all guest view types, whether web view,
17 // extension options, the guest view base class, etc.
18 events::HistogramValue GetEventHistogramValue(const std::string& event_name);
20 } // namespace guest_view_events
21 } // namespace extensions
23 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_GUEST_VIEW_EVENTS_H_