Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(62)

Side by Side Diff: chrome/browser/ui/webui/flags_ui.cc

Issue 2276823003: Change many chrome/browser includes to use qualified paths. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 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/flags_ui.h" 5 #include "chrome/browser/ui/webui/flags_ui.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/bind_helpers.h" 10 #include "base/bind_helpers.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "base/memory/ref_counted_memory.h" 12 #include "base/memory/ref_counted_memory.h"
13 #include "base/strings/utf_string_conversions.h" 13 #include "base/strings/utf_string_conversions.h"
14 #include "base/values.h" 14 #include "base/values.h"
15 #include "build/build_config.h" 15 #include "build/build_config.h"
16 #include "chrome/browser/about_flags.h" 16 #include "chrome/browser/about_flags.h"
17 #include "chrome/browser/browser_process.h" 17 #include "chrome/browser/browser_process.h"
18 #include "chrome/browser/lifetime/application_lifetime.h" 18 #include "chrome/browser/lifetime/application_lifetime.h"
19 #include "chrome/browser/profiles/profile.h" 19 #include "chrome/browser/profiles/profile.h"
20 #include "chrome/common/channel_info.h" 20 #include "chrome/common/channel_info.h"
21 #include "chrome/common/pref_names.h" 21 #include "chrome/common/pref_names.h"
22 #include "chrome/common/url_constants.h" 22 #include "chrome/common/url_constants.h"
23 #include "components/flags_ui/flags_ui_constants.h" 23 #include "components/flags_ui/flags_ui_constants.h"
24 #include "components/flags_ui/flags_ui_pref_names.h" 24 #include "components/flags_ui/flags_ui_pref_names.h"
25 #include "components/flags_ui/pref_service_flags_storage.h" 25 #include "components/flags_ui/pref_service_flags_storage.h"
26 #include "components/grit/components_resources.h"
27 #include "components/grit/components_scaled_resources.h"
26 #include "components/prefs/pref_registry_simple.h" 28 #include "components/prefs/pref_registry_simple.h"
27 #include "components/prefs/pref_service.h" 29 #include "components/prefs/pref_service.h"
30 #include "components/strings/grit/components_chromium_strings.h"
31 #include "components/strings/grit/components_strings.h"
28 #include "components/version_info/version_info.h" 32 #include "components/version_info/version_info.h"
29 #include "content/public/browser/web_contents.h" 33 #include "content/public/browser/web_contents.h"
30 #include "content/public/browser/web_ui.h" 34 #include "content/public/browser/web_ui.h"
31 #include "content/public/browser/web_ui_data_source.h" 35 #include "content/public/browser/web_ui_data_source.h"
32 #include "content/public/browser/web_ui_message_handler.h" 36 #include "content/public/browser/web_ui_message_handler.h"
33 #include "grit/components_chromium_strings.h"
34 #include "grit/components_resources.h"
35 #include "grit/components_scaled_resources.h"
36 #include "grit/components_strings.h"
37 #include "ui/base/l10n/l10n_util.h" 37 #include "ui/base/l10n/l10n_util.h"
38 #include "ui/base/resource/resource_bundle.h" 38 #include "ui/base/resource/resource_bundle.h"
39 39
40 #if defined(OS_CHROMEOS) 40 #if defined(OS_CHROMEOS)
41 #include "base/sys_info.h" 41 #include "base/sys_info.h"
42 #include "chrome/browser/chromeos/ownership/owner_settings_service_chromeos.h" 42 #include "chrome/browser/chromeos/ownership/owner_settings_service_chromeos.h"
43 #include "chrome/browser/chromeos/ownership/owner_settings_service_chromeos_fact ory.h" 43 #include "chrome/browser/chromeos/ownership/owner_settings_service_chromeos_fact ory.h"
44 #include "chrome/browser/chromeos/settings/cros_settings.h" 44 #include "chrome/browser/chromeos/settings/cros_settings.h"
45 #include "chrome/browser/chromeos/settings/owner_flags_storage.h" 45 #include "chrome/browser/chromeos/settings/owner_flags_storage.h"
46 #include "chromeos/cryptohome/cryptohome_parameters.h" 46 #include "chromeos/cryptohome/cryptohome_parameters.h"
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
333 333
334 FlagsUI::~FlagsUI() { 334 FlagsUI::~FlagsUI() {
335 } 335 }
336 336
337 // static 337 // static
338 base::RefCountedMemory* FlagsUI::GetFaviconResourceBytes( 338 base::RefCountedMemory* FlagsUI::GetFaviconResourceBytes(
339 ui::ScaleFactor scale_factor) { 339 ui::ScaleFactor scale_factor) {
340 return ResourceBundle::GetSharedInstance(). 340 return ResourceBundle::GetSharedInstance().
341 LoadDataResourceBytesForScale(IDR_FLAGS_FAVICON, scale_factor); 341 LoadDataResourceBytesForScale(IDR_FLAGS_FAVICON, scale_factor);
342 } 342 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698