summaryrefslogtreecommitdiffstats
path: root/ui/base
diff options
context:
space:
mode:
Diffstat (limited to 'ui/base')
-rw-r--r--ui/base/resource/resource_bundle_posix.cc2
-rw-r--r--ui/base/ui_base_switches.cc10
-rw-r--r--ui/base/ui_base_switches.h1
3 files changed, 9 insertions, 4 deletions
diff --git a/ui/base/resource/resource_bundle_posix.cc b/ui/base/resource/resource_bundle_posix.cc
index c62983a1..1ad356c 100644
--- a/ui/base/resource/resource_bundle_posix.cc
+++ b/ui/base/resource/resource_bundle_posix.cc
@@ -4,7 +4,6 @@
#include "ui/base/resource/resource_bundle.h"
-#include "base/base_switches.h"
#include "base/command_line.h"
#include "base/file_path.h"
#include "base/logging.h"
@@ -14,6 +13,7 @@
#include "base/synchronization/lock.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/resource/data_pack.h"
+#include "ui/base/ui_base_switches.h"
#include "ui/gfx/font.h"
namespace ui {
diff --git a/ui/base/ui_base_switches.cc b/ui/base/ui_base_switches.cc
index 6a5b3a4..73a5606 100644
--- a/ui/base/ui_base_switches.cc
+++ b/ui/base/ui_base_switches.cc
@@ -1,6 +1,6 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this
-// source code is governed by a BSD-style license that can be found in the
-// LICENSE file.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
#include "ui/base/ui_base_switches.h"
@@ -10,4 +10,8 @@ namespace switches {
// language[-country] where language is the 2 letter code from ISO-639.
const char kLang[] = "lang";
+// Load the locale resources from the given path. When running on Mac/Unix the
+// path should point to a locale.pak file.
+const char kLocalePak[] = "locale_pak";
+
} // namespace switches
diff --git a/ui/base/ui_base_switches.h b/ui/base/ui_base_switches.h
index 22fc9fe..07ab98f 100644
--- a/ui/base/ui_base_switches.h
+++ b/ui/base/ui_base_switches.h
@@ -11,6 +11,7 @@
namespace switches {
extern const char kLang[];
+extern const char kLocalePak[];
} // namespace switches