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

Side by Side Diff: chrome/browser/ui/page_info/website_settings_unittest.cc

Issue 2744823004: Move cross-platform Page Info UI code to its own folder. (Closed)
Patch Set: Update test build file with changes not caught by mass-rename.py Created 3 years, 9 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 "chrome/browser/ui/website_settings/website_settings.h" 5 #include "chrome/browser/ui/page_info/website_settings.h"
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/at_exit.h" 10 #include "base/at_exit.h"
11 #include "base/bind.h" 11 #include "base/bind.h"
12 #include "base/memory/ptr_util.h" 12 #include "base/memory/ptr_util.h"
13 #include "base/message_loop/message_loop.h" 13 #include "base/message_loop/message_loop.h"
14 #include "base/strings/string16.h" 14 #include "base/strings/string16.h"
15 #include "base/strings/utf_string_conversions.h" 15 #include "base/strings/utf_string_conversions.h"
16 #include "base/test/histogram_tester.h" 16 #include "base/test/histogram_tester.h"
17 #include "build/build_config.h" 17 #include "build/build_config.h"
18 #include "chrome/browser/content_settings/host_content_settings_map_factory.h" 18 #include "chrome/browser/content_settings/host_content_settings_map_factory.h"
19 #include "chrome/browser/infobars/infobar_service.h" 19 #include "chrome/browser/infobars/infobar_service.h"
20 #include "chrome/browser/ui/website_settings/website_settings_ui.h" 20 #include "chrome/browser/ui/page_info/website_settings_ui.h"
21 #include "chrome/browser/usb/usb_chooser_context.h" 21 #include "chrome/browser/usb/usb_chooser_context.h"
22 #include "chrome/browser/usb/usb_chooser_context_factory.h" 22 #include "chrome/browser/usb/usb_chooser_context_factory.h"
23 #include "chrome/grit/theme_resources.h" 23 #include "chrome/grit/theme_resources.h"
24 #include "chrome/test/base/chrome_render_view_host_test_harness.h" 24 #include "chrome/test/base/chrome_render_view_host_test_harness.h"
25 #include "chrome/test/base/testing_profile.h" 25 #include "chrome/test/base/testing_profile.h"
26 #include "components/content_settings/core/browser/host_content_settings_map.h" 26 #include "components/content_settings/core/browser/host_content_settings_map.h"
27 #include "components/content_settings/core/common/content_settings.h" 27 #include "components/content_settings/core/common/content_settings.h"
28 #include "components/content_settings/core/common/content_settings_types.h" 28 #include "components/content_settings/core/common/content_settings_types.h"
29 #include "components/infobars/core/infobar.h" 29 #include "components/infobars/core/infobar.h"
30 #include "content/public/browser/ssl_status.h" 30 #include "content/public/browser/ssl_status.h"
(...skipping 684 matching lines...) Expand 10 before | Expand all | Expand 10 after
715 histograms.ExpectBucketCount( 715 histograms.ExpectBucketCount(
716 kGenericHistogram, 716 kGenericHistogram,
717 WebsiteSettings::WebsiteSettingsAction::WEBSITE_SETTINGS_OPENED, 2); 717 WebsiteSettings::WebsiteSettingsAction::WEBSITE_SETTINGS_OPENED, 2);
718 718
719 histograms.ExpectTotalCount(test.histogram_name, 2); 719 histograms.ExpectTotalCount(test.histogram_name, 2);
720 histograms.ExpectBucketCount( 720 histograms.ExpectBucketCount(
721 test.histogram_name, 721 test.histogram_name,
722 WebsiteSettings::WebsiteSettingsAction::WEBSITE_SETTINGS_OPENED, 2); 722 WebsiteSettings::WebsiteSettingsAction::WEBSITE_SETTINGS_OPENED, 2);
723 } 723 }
724 } 724 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/page_info/website_settings_ui.cc ('k') | chrome/browser/ui/views/website_settings/chosen_object_row.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698