please consider use namespace to avoid possible variable name conflict. And please refer how chormium deal with the const char variable, https://code.google.com/p/chromium/codesearch#chromium/src/chromeos/chromeos_switches.h