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

Unified Diff: chrome/browser/ui/webui/chromeos/imageburner/imageburner_ui.cc

Issue 8608001: CrOs: Remove 30 static initializers and 30 exit time destructors (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/ui/webui/chromeos/imageburner/imageburner_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « no previous file | chrome/browser/ui/webui/chromeos/imageburner/imageburner_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698