diff options
author | beng@google.com <beng@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-15 01:25:29 +0000 |
---|---|---|
committer | beng@google.com <beng@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-15 01:25:29 +0000 |
commit | 3184cba4196ffe82c2352e46136372420bdaf36c (patch) | |
tree | 36a7edb8a34768d06661fb10164497833bfea4dd /chrome/common | |
parent | d8fd513cd610568904212fa0d2a0de523d85a2ff (diff) | |
download | chromium_src-3184cba4196ffe82c2352e46136372420bdaf36c.zip chromium_src-3184cba4196ffe82c2352e46136372420bdaf36c.tar.gz chromium_src-3184cba4196ffe82c2352e46136372420bdaf36c.tar.bz2 |
Create app_switches and remove a dep.
Move resource.h to app.
http://crbug.com/11387
Review URL: http://codereview.chromium.org/113435
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16139 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/chrome_switches.cc | 4 | ||||
-rw-r--r-- | chrome/common/chrome_switches.h | 1 | ||||
-rw-r--r-- | chrome/common/common_glue.cc | 1 | ||||
-rw-r--r-- | chrome/common/pref_service_unittest.cc | 2 |
4 files changed, 2 insertions, 6 deletions
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc index 680e479..018a6a6 100644 --- a/chrome/common/chrome_switches.cc +++ b/chrome/common/chrome_switches.cc @@ -145,10 +145,6 @@ const wchar_t kJavaScriptFlags[] = L"js-flags"; // string value, the 2 letter code from ISO 3166-1. const wchar_t kCountry[] = L"country"; -// The language file that we want to try to open. Of the form -// language[-country] where language is the 2 letter code from ISO-639. -const wchar_t kLang[] = L"lang"; - // Will add kDebugOnStart to every child processes. If a value is passed, it // will be used as a filter to determine if the child process should have the // kDebugOnStart flag passed on or not. diff --git a/chrome/common/chrome_switches.h b/chrome/common/chrome_switches.h index eca5247..f987cb2 100644 --- a/chrome/common/chrome_switches.h +++ b/chrome/common/chrome_switches.h @@ -48,7 +48,6 @@ extern const wchar_t kPluginPath[]; extern const wchar_t kUserAgent[]; extern const wchar_t kJavaScriptFlags[]; extern const wchar_t kCountry[]; -extern const wchar_t kLang[]; extern const wchar_t kDebugChildren[]; extern const wchar_t kWaitForDebuggerChildren[]; diff --git a/chrome/common/common_glue.cc b/chrome/common/common_glue.cc index 00e9817..7ca0bf8 100644 --- a/chrome/common/common_glue.cc +++ b/chrome/common/common_glue.cc @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#include "app/app_switches.h" #include "app/l10n_util.h" #include "base/command_line.h" #include "base/path_service.h" diff --git a/chrome/common/pref_service_unittest.cc b/chrome/common/pref_service_unittest.cc index a7e75e0..1c017a2 100644 --- a/chrome/common/pref_service_unittest.cc +++ b/chrome/common/pref_service_unittest.cc @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#include "app/test/data/resource.h" #include "base/file_util.h" #include "base/path_service.h" #include "chrome/common/chrome_paths.h" @@ -10,7 +11,6 @@ #include "chrome/common/notification_type.h" #include "chrome/common/pref_names.h" #include "chrome/common/pref_service.h" -#include "chrome/test/data/resource.h" #include "testing/gtest/include/gtest/gtest.h" class PrefServiceTest : public testing::Test { |