OLD | NEW |
(Empty) | |
| 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. |
| 4 |
| 5 #ifndef EXTENSIONS_BROWSER_GUEST_VIEW_GUEST_VIEW_EVENTS_H_ |
| 6 #define EXTENSIONS_BROWSER_GUEST_VIEW_GUEST_VIEW_EVENTS_H_ |
| 7 |
| 8 #include <string> |
| 9 |
| 10 #include "extensions/browser/extension_event_histogram_value.h" |
| 11 |
| 12 namespace extensions { |
| 13 namespace guest_view_events { |
| 14 |
| 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); |
| 19 |
| 20 } // namespace guest_view_events |
| 21 } // namespace extensions |
| 22 |
| 23 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_GUEST_VIEW_EVENTS_H_ |
OLD | NEW |