OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/browser/ui/webui/settings/md_settings_ui.h" | 5 #include "chrome/browser/ui/webui/settings/md_settings_ui.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 26 matching lines...) Expand all Loading... |
37 #include "chrome/browser/ui/webui/settings/site_settings_handler.h" | 37 #include "chrome/browser/ui/webui/settings/site_settings_handler.h" |
38 #include "chrome/common/url_constants.h" | 38 #include "chrome/common/url_constants.h" |
39 #include "chrome/grit/settings_resources.h" | 39 #include "chrome/grit/settings_resources.h" |
40 #include "chrome/grit/settings_resources_map.h" | 40 #include "chrome/grit/settings_resources_map.h" |
41 #include "content/public/browser/navigation_handle.h" | 41 #include "content/public/browser/navigation_handle.h" |
42 #include "content/public/browser/web_contents.h" | 42 #include "content/public/browser/web_contents.h" |
43 #include "content/public/browser/web_ui.h" | 43 #include "content/public/browser/web_ui.h" |
44 #include "content/public/browser/web_ui_data_source.h" | 44 #include "content/public/browser/web_ui_data_source.h" |
45 | 45 |
46 #if defined(OS_CHROMEOS) | 46 #if defined(OS_CHROMEOS) |
47 #include "ash/common/system/chromeos/palette/palette_utils.h" | 47 #include "ash/system/palette/palette_utils.h" |
48 #include "ash/common/system/chromeos/power/power_status.h" | 48 #include "ash/system/power/power_status.h" |
49 #include "chrome/browser/chromeos/arc/arc_util.h" | 49 #include "chrome/browser/chromeos/arc/arc_util.h" |
50 #include "chrome/browser/chromeos/login/quick_unlock/quick_unlock_utils.h" | 50 #include "chrome/browser/chromeos/login/quick_unlock/quick_unlock_utils.h" |
51 #include "chrome/browser/ui/ash/ash_util.h" | 51 #include "chrome/browser/ui/ash/ash_util.h" |
52 #include "chrome/browser/ui/webui/settings/chromeos/accessibility_handler.h" | 52 #include "chrome/browser/ui/webui/settings/chromeos/accessibility_handler.h" |
53 #include "chrome/browser/ui/webui/settings/chromeos/android_apps_handler.h" | 53 #include "chrome/browser/ui/webui/settings/chromeos/android_apps_handler.h" |
54 #include "chrome/browser/ui/webui/settings/chromeos/change_picture_handler.h" | 54 #include "chrome/browser/ui/webui/settings/chromeos/change_picture_handler.h" |
55 #include "chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.h" | 55 #include "chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.h" |
56 #include "chrome/browser/ui/webui/settings/chromeos/date_time_handler.h" | 56 #include "chrome/browser/ui/webui/settings/chromeos/date_time_handler.h" |
57 #include "chrome/browser/ui/webui/settings/chromeos/device_keyboard_handler.h" | 57 #include "chrome/browser/ui/webui/settings/chromeos/device_keyboard_handler.h" |
58 #include "chrome/browser/ui/webui/settings/chromeos/device_pointer_handler.h" | 58 #include "chrome/browser/ui/webui/settings/chromeos/device_pointer_handler.h" |
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
233 UMA_HISTOGRAM_TIMES("Settings.LoadDocumentTime.MD", | 233 UMA_HISTOGRAM_TIMES("Settings.LoadDocumentTime.MD", |
234 base::Time::Now() - load_start_time_); | 234 base::Time::Now() - load_start_time_); |
235 } | 235 } |
236 | 236 |
237 void MdSettingsUI::DocumentOnLoadCompletedInMainFrame() { | 237 void MdSettingsUI::DocumentOnLoadCompletedInMainFrame() { |
238 UMA_HISTOGRAM_TIMES("Settings.LoadCompletedTime.MD", | 238 UMA_HISTOGRAM_TIMES("Settings.LoadCompletedTime.MD", |
239 base::Time::Now() - load_start_time_); | 239 base::Time::Now() - load_start_time_); |
240 } | 240 } |
241 | 241 |
242 } // namespace settings | 242 } // namespace settings |
OLD | NEW |