OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 <string> | 5 #include <string> |
6 | 6 |
7 #include "base/file_util.h" | 7 #include "base/file_util.h" |
8 #include "base/logging.h" | 8 #include "base/logging.h" |
9 #include "base/utf_string_conversions.h" | 9 #include "base/utf_string_conversions.h" |
10 #include "chrome/browser/browser_thread.h" | |
11 #include "chrome/browser/chromeos/login/help_app_launcher.h" | 10 #include "chrome/browser/chromeos/login/help_app_launcher.h" |
12 #include "chrome/common/url_constants.h" | 11 #include "chrome/common/url_constants.h" |
| 12 #include "content/browser/browser_thread.h" |
13 #include "grit/generated_resources.h" | 13 #include "grit/generated_resources.h" |
14 #include "ui/base/l10n/l10n_util.h" | 14 #include "ui/base/l10n/l10n_util.h" |
15 | 15 |
16 namespace chromeos { | 16 namespace chromeos { |
17 | 17 |
18 namespace { | 18 namespace { |
19 const char kHelpTopicBasePath[] = "/usr/share/chromeos-assets/help/"; | 19 const char kHelpTopicBasePath[] = "/usr/share/chromeos-assets/help/"; |
20 | 20 |
21 const char* kHelpTopicFiles[] = { "connectivity.html", | 21 const char* kHelpTopicFiles[] = { "connectivity.html", |
22 "usage.html", | 22 "usage.html", |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 l10n_util::GetStringUTF16(IDS_LOGIN_OOBE_HELP_DIALOG_TITLE)), | 80 l10n_util::GetStringUTF16(IDS_LOGIN_OOBE_HELP_DIALOG_TITLE)), |
81 topic_url, | 81 topic_url, |
82 LoginHtmlDialog::STYLE_BUBBLE)); | 82 LoginHtmlDialog::STYLE_BUBBLE)); |
83 } else { | 83 } else { |
84 dialog_->set_url(topic_url); | 84 dialog_->set_url(topic_url); |
85 } | 85 } |
86 dialog_->Show(); | 86 dialog_->Show(); |
87 } | 87 } |
88 | 88 |
89 } // namespace chromeos | 89 } // namespace chromeos |
OLD | NEW |