summaryrefslogtreecommitdiffstats
path: root/google_apis/google_api_keys.cc
diff options
context:
space:
mode:
authorjoi@chromium.org <joi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-10 23:38:22 +0000
committerjoi@chromium.org <joi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-10 23:38:22 +0000
commite03604b93e09e919287a853d68e740c9e6f0fb9f (patch)
treed86464635da2d96781cf48f9b8cbeca95638df7b /google_apis/google_api_keys.cc
parent2ee2f5db813d4f9ac9c129c67c3fb2b3c01ae999 (diff)
downloadchromium_src-e03604b93e09e919287a853d68e740c9e6f0fb9f.zip
chromium_src-e03604b93e09e919287a853d68e740c9e6f0fb9f.tar.gz
chromium_src-e03604b93e09e919287a853d68e740c9e6f0fb9f.tar.bz2
Avoid having two copies of implementation from google_api_keys.cc
This fixes a problem that was only happening with some linkers, where the linker would choose the version of functions from google_api_keys.cc that was defined in the google_api_keys_unittest.cc file when that source file got #included at global scope. Thanks to blundell@chromium.org for the report. BUG=None Review URL: https://chromiumcodereview.appspot.com/11819043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176207 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'google_apis/google_api_keys.cc')
-rw-r--r--google_apis/google_api_keys.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/google_apis/google_api_keys.cc b/google_apis/google_api_keys.cc
index 830a135..5b11247 100644
--- a/google_apis/google_api_keys.cc
+++ b/google_apis/google_api_keys.cc
@@ -4,6 +4,8 @@
#include "google_apis/google_api_keys.h"
+// If you add more includes to this list, you also need to add them to
+// google_api_keys_unittest.cc.
#include "base/command_line.h"
#include "base/environment.h"
#include "base/lazy_instance.h"