OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "chrome/browser/google/google_brand.h" | 5 #include "chrome/browser/google/google_brand.h" |
6 | 6 |
| 7 #include <algorithm> |
7 #include <string> | 8 #include <string> |
8 | 9 |
9 #include "base/macros.h" | 10 #include "base/macros.h" |
10 #include "base/strings/string_util.h" | 11 #include "base/strings/string_util.h" |
11 #include "base/strings/utf_string_conversions.h" | 12 #include "base/strings/utf_string_conversions.h" |
12 #include "build/build_config.h" | 13 #include "build/build_config.h" |
13 #include "chrome/installer/util/google_update_settings.h" | 14 #include "chrome/installer/util/google_update_settings.h" |
14 | 15 |
15 #if defined(OS_MACOSX) | 16 #if defined(OS_MACOSX) |
16 #include "chrome/browser/mac/keystone_glue.h" | 17 #include "chrome/browser/mac/keystone_glue.h" |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 DCHECK(g_brand_for_testing == NULL); | 139 DCHECK(g_brand_for_testing == NULL); |
139 g_brand_for_testing = brand_.c_str(); | 140 g_brand_for_testing = brand_.c_str(); |
140 } | 141 } |
141 | 142 |
142 BrandForTesting::~BrandForTesting() { | 143 BrandForTesting::~BrandForTesting() { |
143 g_brand_for_testing = NULL; | 144 g_brand_for_testing = NULL; |
144 } | 145 } |
145 | 146 |
146 | 147 |
147 } // namespace google_brand | 148 } // namespace google_brand |
OLD | NEW |