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

Side by Side Diff: chrome/browser/chromeos/mobile_config_unittest.cc

Issue 18050009: Use a direct include of time headers in chrome/browser/, part 2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 "chrome/browser/chromeos/mobile_config.h" 5 #include "chrome/browser/chromeos/mobile_config.h"
6 6
7 #include "base/time.h" 7 #include "base/time/time.h"
8 #include "testing/gtest/include/gtest/gtest.h" 8 #include "testing/gtest/include/gtest/gtest.h"
9 9
10 namespace { 10 namespace {
11 11
12 const char kBadManifest[] = "{\"version\": \"1\"}"; 12 const char kBadManifest[] = "{\"version\": \"1\"}";
13 13
14 const char kGoodMobileConfig[] = 14 const char kGoodMobileConfig[] =
15 "{" 15 "{"
16 " \"version\": \"1.0\"," 16 " \"version\": \"1.0\","
17 " \"carriers\" : {\n" 17 " \"carriers\" : {\n"
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 EXPECT_TRUE(config_us.IsReady()); 240 EXPECT_TRUE(config_us.IsReady());
241 config_us.LoadManifestFromString(kLocalMobileConfig); 241 config_us.LoadManifestFromString(kLocalMobileConfig);
242 EXPECT_TRUE(config_us.IsReady()); 242 EXPECT_TRUE(config_us.IsReady());
243 const MobileConfig::LocaleConfig* locale_config; 243 const MobileConfig::LocaleConfig* locale_config;
244 locale_config = config_us.GetLocaleConfig(); 244 locale_config = config_us.GetLocaleConfig();
245 EXPECT_TRUE(locale_config != NULL); 245 EXPECT_TRUE(locale_config != NULL);
246 EXPECT_EQ("accounts.carrier.com/localized/", locale_config->setup_url()); 246 EXPECT_EQ("accounts.carrier.com/localized/", locale_config->setup_url());
247 } 247 }
248 248
249 } // namespace chromeos 249 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/mobile_config.h ('k') | chrome/browser/chromeos/net/network_portal_detector_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698