OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "google_apis/google_api_keys.h" | 5 #include "google_apis/google_api_keys.h" |
6 | 6 |
7 // If you add more includes to this list, you also need to add them to | 7 // If you add more includes to this list, you also need to add them to |
8 // google_api_keys_unittest.cc. | 8 // google_api_keys_unittest.cc. |
| 9 |
| 10 #include <stddef.h> |
| 11 |
9 #include "base/command_line.h" | 12 #include "base/command_line.h" |
10 #include "base/environment.h" | 13 #include "base/environment.h" |
11 #include "base/lazy_instance.h" | 14 #include "base/lazy_instance.h" |
12 #include "base/logging.h" | 15 #include "base/logging.h" |
13 #include "base/memory/scoped_ptr.h" | 16 #include "base/memory/scoped_ptr.h" |
14 #include "base/strings/stringize_macros.h" | 17 #include "base/strings/stringize_macros.h" |
15 #include "google_apis/gaia/gaia_switches.h" | 18 #include "google_apis/gaia/gaia_switches.h" |
16 | 19 |
17 #if defined(GOOGLE_CHROME_BUILD) || defined(USE_OFFICIAL_GOOGLE_API_KEYS) | 20 #if defined(GOOGLE_CHROME_BUILD) || defined(USE_OFFICIAL_GOOGLE_API_KEYS) |
18 #include "google_apis/internal/google_chrome_api_keys.h" | 21 #include "google_apis/internal/google_chrome_api_keys.h" |
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
295 | 298 |
296 bool IsGoogleChromeAPIKeyUsed() { | 299 bool IsGoogleChromeAPIKeyUsed() { |
297 #if defined(GOOGLE_CHROME_BUILD) || defined(USE_OFFICIAL_GOOGLE_API_KEYS) | 300 #if defined(GOOGLE_CHROME_BUILD) || defined(USE_OFFICIAL_GOOGLE_API_KEYS) |
298 return true; | 301 return true; |
299 #else | 302 #else |
300 return false; | 303 return false; |
301 #endif | 304 #endif |
302 } | 305 } |
303 | 306 |
304 } // namespace google_apis | 307 } // namespace google_apis |
OLD | NEW |