Chromium Code Reviews| Index: chrome/browser/ui/webui/chromeos/imageburner/imageburner_ui.cc |
| diff --git a/chrome/browser/ui/webui/chromeos/imageburner/imageburner_ui.cc b/chrome/browser/ui/webui/chromeos/imageburner/imageburner_ui.cc |
| index 34238285180dfc5cb9ad35a31f0583a9515816f9..2761f0f182a9e95e15fff3fbe18cfd85f1a7042b 100644 |
| --- a/chrome/browser/ui/webui/chromeos/imageburner/imageburner_ui.cc |
| +++ b/chrome/browser/ui/webui/chromeos/imageburner/imageburner_ui.cc |
| @@ -28,15 +28,13 @@ |
| using content::BrowserThread; |
| -namespace { |
| - |
| const char kPropertyDevicePath[] = "devicePath"; |
| const char kPropertyFilePath[] = "filePath"; |
| const char kPropertyLabel[] = "label"; |
| const char kPropertyPath[] = "path"; |
| // Name for hwid in machine statistics. |
| -const std::string kHwidStatistic = "hardware_class"; |
| +const char kHwidStatistic[] = "hardware_class"; |
| const char kImageZipFileName[] = "chromeos_image.bin.zip"; |
| @@ -44,9 +42,11 @@ const char kImageZipFileName[] = "chromeos_image.bin.zip"; |
| const uint64 kMinDeviceSize = static_cast<uint64>(3.9) * 1000 * 1000 * 1000; |
| // Link displayed on imageburner ui. |
| -const std::string kMoreInfoLink = |
| +const char kMoreInfoLink[] = |
| "http://www.chromium.org/chromium-os/chromiumos-design-docs/recovery-mode"; |
| +namespace { |
|
Ryan Sleevi
2011/11/20 23:01:39
Why did you move the namespace down? These don't s
Nico
2011/11/20 23:14:03
Because consts have implicit internal linkage by d
|
| + |
| ChromeWebUIDataSource *CreateImageburnerUIHTMLSource() { |
| ChromeWebUIDataSource *source = |
| new ChromeWebUIDataSource(chrome::kChromeUIImageBurnerHost); |