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

Unified Diff: base/path_service.cc

Issue 9271061: Cleanup: Remove static storage for variables in an unnamed namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Style change. Created 8 years, 11 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 | « base/nix/mime_util_xdg.cc ('k') | base/tracked_objects.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/path_service.cc
diff --git a/base/path_service.cc b/base/path_service.cc
index 47278c39dff2cba0a99f8b7c47781d3489fdadbb..46f394c1d79eb2a8e5b9a06ba4447e5f2791364c 100644
--- a/base/path_service.cc
+++ b/base/path_service.cc
@@ -46,7 +46,7 @@ struct Provider {
bool is_static;
};
-static Provider base_provider = {
+Provider base_provider = {
base::PathProvider,
NULL,
#ifndef NDEBUG
@@ -57,7 +57,7 @@ static Provider base_provider = {
};
#if defined(OS_WIN)
-static Provider base_provider_win = {
+Provider base_provider_win = {
base::PathProviderWin,
&base_provider,
#ifndef NDEBUG
@@ -69,7 +69,7 @@ static Provider base_provider_win = {
#endif
#if defined(OS_MACOSX)
-static Provider base_provider_mac = {
+Provider base_provider_mac = {
base::PathProviderMac,
&base_provider,
#ifndef NDEBUG
@@ -81,7 +81,7 @@ static Provider base_provider_mac = {
#endif
#if defined(OS_ANDROID)
-static Provider base_provider_android = {
+Provider base_provider_android = {
base::PathProviderAndroid,
&base_provider,
#ifndef NDEBUG
@@ -93,7 +93,7 @@ static Provider base_provider_android = {
#endif
#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID)
-static Provider base_provider_posix = {
+Provider base_provider_posix = {
base::PathProviderPosix,
&base_provider,
#ifndef NDEBUG
« no previous file with comments | « base/nix/mime_util_xdg.cc ('k') | base/tracked_objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698