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

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

Issue 498773003: Use a qualified path for chromium_strings, google_chrome_strings, and generated_resources. (part 2 … (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/ui/webui/version_handler.cc ('k') | chrome/browser/ui/webui/voicesearch_ui.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/version_ui.h" 5 #include "chrome/browser/ui/webui/version_ui.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/strings/string_number_conversions.h" 8 #include "base/strings/string_number_conversions.h"
9 #include "base/strings/utf_string_conversions.h" 9 #include "base/strings/utf_string_conversions.h"
10 #include "chrome/browser/profiles/profile.h" 10 #include "chrome/browser/profiles/profile.h"
11 #include "chrome/browser/ui/webui/version_handler.h" 11 #include "chrome/browser/ui/webui/version_handler.h"
12 #include "chrome/common/chrome_content_client.h" 12 #include "chrome/common/chrome_content_client.h"
13 #include "chrome/common/chrome_version_info.h" 13 #include "chrome/common/chrome_version_info.h"
14 #include "chrome/common/url_constants.h" 14 #include "chrome/common/url_constants.h"
15 #include "chrome/grit/chromium_strings.h"
16 #include "chrome/grit/generated_resources.h"
17 #include "chrome/grit/google_chrome_strings.h"
15 #include "content/public/browser/url_data_source.h" 18 #include "content/public/browser/url_data_source.h"
16 #include "content/public/browser/web_ui.h" 19 #include "content/public/browser/web_ui.h"
17 #include "content/public/browser/web_ui_data_source.h" 20 #include "content/public/browser/web_ui_data_source.h"
18 #include "content/public/common/user_agent.h" 21 #include "content/public/common/user_agent.h"
19 #include "grit/browser_resources.h" 22 #include "grit/browser_resources.h"
20 #include "grit/chromium_strings.h"
21 #include "grit/generated_resources.h"
22 #include "grit/google_chrome_strings.h"
23 #include "ui/base/l10n/l10n_util.h" 23 #include "ui/base/l10n/l10n_util.h"
24 #include "v8/include/v8.h" 24 #include "v8/include/v8.h"
25 25
26 #if defined(ENABLE_THEMES) 26 #if defined(ENABLE_THEMES)
27 #include "chrome/browser/ui/webui/theme_source.h" 27 #include "chrome/browser/ui/webui/theme_source.h"
28 #endif 28 #endif
29 29
30 #if defined(OS_ANDROID) 30 #if defined(OS_ANDROID)
31 #include "base/android/build_info.h" 31 #include "base/android/build_info.h"
32 #include "chrome/browser/ui/android/android_about_app_info.h" 32 #include "chrome/browser/ui/android/android_about_app_info.h"
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 // Set up the chrome://theme/ source. 148 // Set up the chrome://theme/ source.
149 ThemeSource* theme = new ThemeSource(profile); 149 ThemeSource* theme = new ThemeSource(profile);
150 content::URLDataSource::Add(profile, theme); 150 content::URLDataSource::Add(profile, theme);
151 #endif 151 #endif
152 152
153 content::WebUIDataSource::Add(profile, CreateVersionUIDataSource(profile)); 153 content::WebUIDataSource::Add(profile, CreateVersionUIDataSource(profile));
154 } 154 }
155 155
156 VersionUI::~VersionUI() { 156 VersionUI::~VersionUI() {
157 } 157 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/version_handler.cc ('k') | chrome/browser/ui/webui/voicesearch_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698