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

Side by Side Diff: chrome/browser/ui/webui/log_web_ui_url_browsertest.cc

Issue 2276823003: Change many chrome/browser includes to use qualified paths. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 3 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/ui/webui/log_web_ui_url.h" 5 #include "chrome/browser/ui/webui/log_web_ui_url.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/hash.h" 11 #include "base/hash.h"
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "base/test/histogram_tester.h" 13 #include "base/test/histogram_tester.h"
14 #include "chrome/browser/ui/browser.h" 14 #include "chrome/browser/ui/browser.h"
15 #include "chrome/browser/ui/browser_commands.h" 15 #include "chrome/browser/ui/browser_commands.h"
16 #include "chrome/browser/ui/tabs/tab_strip_model.h" 16 #include "chrome/browser/ui/tabs/tab_strip_model.h"
17 #include "chrome/browser/ui/webui/md_history_ui.h" 17 #include "chrome/browser/ui/webui/md_history_ui.h"
18 #include "chrome/common/url_constants.h" 18 #include "chrome/common/url_constants.h"
19 #include "chrome/grit/generated_resources.h"
19 #include "chrome/test/base/in_process_browser_test.h" 20 #include "chrome/test/base/in_process_browser_test.h"
20 #include "chrome/test/base/ui_test_utils.h" 21 #include "chrome/test/base/ui_test_utils.h"
22 #include "components/strings/grit/components_strings.h"
21 #include "content/public/common/url_constants.h" 23 #include "content/public/common/url_constants.h"
22 #include "content/public/test/browser_test_utils.h" 24 #include "content/public/test/browser_test_utils.h"
23 #include "grit/components_strings.h"
24 #include "grit/generated_resources.h"
25 #include "testing/gmock/include/gmock/gmock.h" 25 #include "testing/gmock/include/gmock/gmock.h"
26 #include "ui/base/l10n/l10n_util.h" 26 #include "ui/base/l10n/l10n_util.h"
27 #include "url/gurl.h" 27 #include "url/gurl.h"
28 28
29 using base::Bucket; 29 using base::Bucket;
30 using testing::ElementsAre; 30 using testing::ElementsAre;
31 31
32 namespace webui { 32 namespace webui {
33 33
34 class LogWebUIUrlTest : public InProcessBrowserTest { 34 class LogWebUIUrlTest : public InProcessBrowserTest {
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 uint32_t extensions_frame_url_hash = base::Hash(extensions_frame_url.spec()); 116 uint32_t extensions_frame_url_hash = base::Hash(extensions_frame_url.spec());
117 117
118 EXPECT_THAT(GetSamples(), ElementsAre(Bucket(extensions_frame_url_hash, 1), 118 EXPECT_THAT(GetSamples(), ElementsAre(Bucket(extensions_frame_url_hash, 1),
119 Bucket(history_frame_url_hash, 2), 119 Bucket(history_frame_url_hash, 2),
120 Bucket(uber_frame_url_hash, 2), 120 Bucket(uber_frame_url_hash, 2),
121 Bucket(uber_url_hash, 2))); 121 Bucket(uber_url_hash, 2)));
122 } 122 }
123 #endif 123 #endif
124 124
125 } // namespace webui 125 } // namespace webui
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698