Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1227)

Unified Diff: base/path_service.h

Issue 185007: Removes the deprecated version of PathService::Override (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | base/path_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/path_service.h
===================================================================
--- base/path_service.h (revision 25084)
+++ base/path_service.h (working copy)
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef BASE_PATH_SERVICE_H__
-#define BASE_PATH_SERVICE_H__
+#ifndef BASE_PATH_SERVICE_H_
+#define BASE_PATH_SERVICE_H_
#include "build/build_config.h"
#ifdef OS_WIN
@@ -49,9 +49,6 @@
// WARNING: Consumers of PathService::Get may expect paths to be constant
// over the lifetime of the app, so this method should be used with caution.
static bool Override(int key, const FilePath& path);
- // This version, using a wstring, is deprecated and only kept around
- // until we can fix all callers.
- static bool Override(int key, const std::wstring& path);
// Return whether a path was overridden.
static bool IsOverridden(int key);
@@ -77,7 +74,6 @@
private:
static bool GetFromCache(int key, FilePath* path);
static void AddToCache(int key, const FilePath& path);
-
};
-#endif // BASE_PATH_SERVICE_H__
+#endif // BASE_PATH_SERVICE_H_
« no previous file with comments | « no previous file | base/path_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698