diff options
author | hashimoto@chromium.org <hashimoto@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-17 12:19:03 +0000 |
---|---|---|
committer | hashimoto@chromium.org <hashimoto@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-17 12:19:03 +0000 |
commit | 14eee11a95ebb3333571f7e4b40cb8b47d409a36 (patch) | |
tree | 78a8310971bc1ba939c6f8f26373746c92e6c592 | |
parent | c5e16594abd7f84007bfadbb23560c1f4b6b9f19 (diff) | |
download | chromium_src-14eee11a95ebb3333571f7e4b40cb8b47d409a36.zip chromium_src-14eee11a95ebb3333571f7e4b40cb8b47d409a36.tar.gz chromium_src-14eee11a95ebb3333571f7e4b40cb8b47d409a36.tar.bz2 |
Remove unused function GetRlzDisabledFlagPath() from login_utils.cc
To suppress "unused function" error by Clang when building RLZ enabled binary
BUG=None
TEST=build with RLZ enabled
Review URL: https://codereview.chromium.org/338183002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277739 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/browser/chromeos/login/login_utils.cc | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/chrome/browser/chromeos/login/login_utils.cc b/chrome/browser/chromeos/login/login_utils.cc index f594641..fafe439 100644 --- a/chrome/browser/chromeos/login/login_utils.cc +++ b/chrome/browser/chromeos/login/login_utils.cc @@ -19,7 +19,6 @@ #include "base/memory/scoped_ptr.h" #include "base/memory/singleton.h" #include "base/memory/weak_ptr.h" -#include "base/path_service.h" #include "base/prefs/pref_member.h" #include "base/prefs/pref_service.h" #include "base/strings/string_util.h" @@ -89,22 +88,6 @@ using content::BrowserThread; namespace chromeos { -namespace { - -#if defined(ENABLE_RLZ) -// Flag file that disables RLZ tracking, when present. -const base::FilePath::CharType kRLZDisabledFlagName[] = - FILE_PATH_LITERAL(".rlz_disabled"); - -base::FilePath GetRlzDisabledFlagPath() { - base::FilePath homedir; - PathService::Get(base::DIR_HOME, &homedir); - return homedir.Append(kRLZDisabledFlagName); -} -#endif - -} // namespace - struct DoBrowserLaunchOnLocaleLoadedData; class LoginUtilsImpl |