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
parent c5e16594
...@@ -19,7 +19,6 @@ ...@@ -19,7 +19,6 @@
#include "base/memory/scoped_ptr.h" #include "base/memory/scoped_ptr.h"
#include "base/memory/singleton.h" #include "base/memory/singleton.h"
#include "base/memory/weak_ptr.h" #include "base/memory/weak_ptr.h"
#include "base/path_service.h"
#include "base/prefs/pref_member.h" #include "base/prefs/pref_member.h"
#include "base/prefs/pref_service.h" #include "base/prefs/pref_service.h"
#include "base/strings/string_util.h" #include "base/strings/string_util.h"
...@@ -89,22 +88,6 @@ using content::BrowserThread; ...@@ -89,22 +88,6 @@ using content::BrowserThread;
namespace chromeos { 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; struct DoBrowserLaunchOnLocaleLoadedData;
class LoginUtilsImpl class LoginUtilsImpl
......
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