Home | History | Annotate | Download | only in performance_monitor
      1 // Copyright (c) 2012 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 CHROME_BROWSER_UI_WEBUI_PERFORMANCE_MONITOR_PERFORMANCE_MONITOR_L10N_H_
      6 #define CHROME_BROWSER_UI_WEBUI_PERFORMANCE_MONITOR_PERFORMANCE_MONITOR_L10N_H_
      7 
      8 #include <string>
      9 
     10 #include "chrome/browser/performance_monitor/event.h"
     11 #include "chrome/browser/performance_monitor/metric.h"
     12 #include "chrome/browser/ui/webui/performance_monitor/performance_monitor_ui_constants.h"
     13 #include "chrome/browser/ui/webui/performance_monitor/performance_monitor_ui_util.h"
     14 
     15 namespace performance_monitor {
     16 
     17 // Aggregation-Related
     18 string16 GetLocalizedStringFromAggregationMethod(
     19     const AggregationMethod method);
     20 string16 GetLocalizedStringForAggregationMethodDescription(
     21     const AggregationMethod method);
     22 
     23 // Event-Related
     24 string16 GetLocalizedStringFromEventCategory(const EventCategory category);
     25 string16 GetLocalizedStringForEventCategoryDescription(
     26     const EventCategory category);
     27 string16 GetLocalizedStringFromEventType(const EventType type);
     28 string16 GetLocalizedStringForEventTypeDescription(const EventType type);
     29 string16 GetLocalizedStringForEventTypeMouseover(const EventType type);
     30 string16 GetLocalizedStringFromEventProperty(const std::string& key);
     31 
     32 // Metric-Related
     33 string16 GetLocalizedStringFromMetricCategory(const MetricCategory category);
     34 string16 GetLocalizedStringForMetricCategoryDescription(
     35     const MetricCategory category);
     36 string16 GetLocalizedStringFromMetricType(const MetricType type);
     37 string16 GetLocalizedStringForMetricTypeDescription(const MetricType type);
     38 
     39 // Miscellaneous
     40 string16 GetLocalizedStringFromUnit(const Unit unit);
     41 
     42 }  // namespace performance_monitor
     43 
     44 #endif  // CHROME_BROWSER_UI_WEBUI_PERFORMANCE_MONITOR_PERFORMANCE_MONITOR_L10N_H_
     45