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

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

Issue 2122903002: Move search-related files from chrome/common to chrome/common/search (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: move search-related files Created 4 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
« no previous file with comments | « chrome/renderer/searchbox/searchbox_extension.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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> 7 #include <stddef.h>
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
11 11
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "chrome/common/instant_types.h" 13 #include "chrome/common/search/instant_types.h"
14 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
15 #include "url/gurl.h" 15 #include "url/gurl.h"
16 16
17 namespace { 17 namespace {
18 18
19 const auto FAVICON = SearchBox::FAVICON; 19 const auto FAVICON = SearchBox::FAVICON;
20 const auto LARGE_ICON = SearchBox::LARGE_ICON; 20 const auto LARGE_ICON = SearchBox::LARGE_ICON;
21 const auto FALLBACK_ICON = SearchBox::FALLBACK_ICON; 21 const auto FALLBACK_ICON = SearchBox::FALLBACK_ICON;
22 const auto THUMB = SearchBox::THUMB; 22 const auto THUMB = SearchBox::THUMB;
23 23
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 GURL url; 318 GURL url;
319 GURL transient_url(test_cases[i].transient_url_str); 319 GURL transient_url(test_cases[i].transient_url_str);
320 EXPECT_FALSE(TranslateIconRestrictedUrl(transient_url, test_cases[i].type, 320 EXPECT_FALSE(TranslateIconRestrictedUrl(transient_url, test_cases[i].type,
321 helper, &url)) 321 helper, &url))
322 << " for test_cases[" << i << "]"; 322 << " for test_cases[" << i << "]";
323 EXPECT_TRUE(url.is_empty()) << " for test_cases[" << i << "]"; 323 EXPECT_TRUE(url.is_empty()) << " for test_cases[" << i << "]";
324 } 324 }
325 } 325 }
326 326
327 } // namespace internal 327 } // namespace internal
OLDNEW
« no previous file with comments | « chrome/renderer/searchbox/searchbox_extension.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698