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

Side by Side Diff: chrome/renderer/searchbox/searchbox_unittest.cc

Issue 1548153002: Switch to standard integer types in chrome/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/renderer/searchbox/searchbox.h" 5 #include "chrome/renderer/searchbox/searchbox.h"
6 6
7 #include <stddef.h>
8
7 #include <map> 9 #include <map>
8 #include <string> 10 #include <string>
9 11
10 #include "base/basictypes.h" 12 #include "base/macros.h"
11 #include "chrome/common/instant_types.h" 13 #include "chrome/common/instant_types.h"
12 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
13 #include "url/gurl.h" 15 #include "url/gurl.h"
14 16
15 namespace { 17 namespace {
16 18
17 const auto FAVICON = SearchBox::FAVICON; 19 const auto FAVICON = SearchBox::FAVICON;
18 const auto LARGE_ICON = SearchBox::LARGE_ICON; 20 const auto LARGE_ICON = SearchBox::LARGE_ICON;
19 const auto FALLBACK_ICON = SearchBox::FALLBACK_ICON; 21 const auto FALLBACK_ICON = SearchBox::FALLBACK_ICON;
20 const auto THUMB = SearchBox::THUMB; 22 const auto THUMB = SearchBox::THUMB;
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 GURL url; 318 GURL url;
317 GURL transient_url(test_cases[i].transient_url_str); 319 GURL transient_url(test_cases[i].transient_url_str);
318 EXPECT_FALSE(TranslateIconRestrictedUrl(transient_url, test_cases[i].type, 320 EXPECT_FALSE(TranslateIconRestrictedUrl(transient_url, test_cases[i].type,
319 helper, &url)) 321 helper, &url))
320 << " for test_cases[" << i << "]"; 322 << " for test_cases[" << i << "]";
321 EXPECT_TRUE(url.is_empty()) << " for test_cases[" << i << "]"; 323 EXPECT_TRUE(url.is_empty()) << " for test_cases[" << i << "]";
322 } 324 }
323 } 325 }
324 326
325 } // namespace internal 327 } // namespace internal
OLDNEW
« no previous file with comments | « chrome/renderer/searchbox/searchbox_extension_unittest.cc ('k') | chrome/renderer/security_filter_peer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698