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

Side by Side Diff: components/web_resource/promo_resource_service_unittest.cc

Issue 1549993003: Switch to standard integer types in components/, part 4 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 unified diff | Download patch
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 <stddef.h>
6
5 #include <utility> 7 #include <utility>
6 #include <vector> 8 #include <vector>
7 9
8 #include "base/bind.h" 10 #include "base/bind.h"
9 #include "base/json/json_reader.h" 11 #include "base/json/json_reader.h"
10 #include "base/message_loop/message_loop.h" 12 #include "base/message_loop/message_loop.h"
11 #include "base/prefs/testing_pref_service.h" 13 #include "base/prefs/testing_pref_service.h"
12 #include "base/strings/string_number_conversions.h" 14 #include "base/strings/string_number_conversions.h"
13 #include "base/strings/string_util.h" 15 #include "base/strings/string_util.h"
14 #include "base/strings/utf_string_conversions.h" 16 #include "base/strings/utf_string_conversions.h"
(...skipping 493 matching lines...) Expand 10 before | Expand all | Expand 10 after
508 510
509 TEST_F(NotificationPromoTest, PromoServerURLTest) { 511 TEST_F(NotificationPromoTest, PromoServerURLTest) {
510 GURL promo_server_url = NotificationPromo::PromoServerURL(kChannel); 512 GURL promo_server_url = NotificationPromo::PromoServerURL(kChannel);
511 EXPECT_FALSE(promo_server_url.is_empty()); 513 EXPECT_FALSE(promo_server_url.is_empty());
512 EXPECT_TRUE(promo_server_url.is_valid()); 514 EXPECT_TRUE(promo_server_url.is_valid());
513 EXPECT_TRUE(promo_server_url.SchemeIs(url::kHttpsScheme)); 515 EXPECT_TRUE(promo_server_url.SchemeIs(url::kHttpsScheme));
514 // TODO(achuith): Test this better. 516 // TODO(achuith): Test this better.
515 } 517 }
516 518
517 } // namespace web_resource 519 } // namespace web_resource
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698