Commit 2297bb2e authored by dnicoara@chromium.org's avatar dnicoara@chromium.org

Move const string declaration into #ifdef USE_GIO block

The string is only used in that block, causing Clang errors when USE_GIO
isn't defined.

BUG=none

Review URL: https://codereview.chromium.org/331223004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278282 0039d316-1c4b-4281-b951-d872f2087c98
parent 71fc4ec0
......@@ -205,7 +205,6 @@ bool ProxyConfigServiceLinux::Delegate::GetConfigFromEnv(ProxyConfig* config) {
namespace {
const int kDebounceTimeoutMilliseconds = 250;
const char kProxyGConfSchema[] = "org.gnome.system.proxy";
#if defined(USE_GCONF)
// This setting getter uses gconf, as used in GNOME 2 and some GNOME 3 desktops.
......@@ -521,6 +520,8 @@ class SettingGetterImplGConf : public ProxyConfigServiceLinux::SettingGetter {
#endif // defined(USE_GCONF)
#if defined(USE_GIO)
const char kProxyGConfSchema[] = "org.gnome.system.proxy";
// This setting getter uses gsettings, as used in most GNOME 3 desktops.
class SettingGetterImplGSettings
: public ProxyConfigServiceLinux::SettingGetter {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment