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

Side by Side Diff: chrome/browser/chromeos/login/ui/simple_web_view_dialog_browsertest.cc

Issue 292663018: [cros login] Cleanup: replace some of Profile usages with BrowserContext. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add missing include, fix ProxySettingsDialog ctor Created 6 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/chromeos/login/ui/proxy_settings_dialog.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "base/compiler_specific.h" 5 #include "base/compiler_specific.h"
6 #include "base/logging.h" 6 #include "base/logging.h"
7 #include "base/macros.h" 7 #include "base/macros.h"
8 #include "chrome/browser/chromeos/login/login_manager_test.h" 8 #include "chrome/browser/chromeos/login/login_manager_test.h"
9 #include "chrome/browser/chromeos/login/ui/captive_portal_view.h" 9 #include "chrome/browser/chromeos/login/ui/captive_portal_view.h"
10 #include "chrome/browser/chromeos/login/ui/captive_portal_window_proxy.h" 10 #include "chrome/browser/chromeos/login/ui/captive_portal_window_proxy.h"
11 #include "chrome/browser/chromeos/login/ui/login_display_host_impl.h" 11 #include "chrome/browser/chromeos/login/ui/login_display_host_impl.h"
12 #include "chrome/browser/chromeos/login/ui/simple_web_view_dialog.h" 12 #include "chrome/browser/chromeos/login/ui/simple_web_view_dialog.h"
13 #include "chrome/browser/chromeos/login/ui/webui_login_view.h" 13 #include "chrome/browser/chromeos/login/ui/webui_login_view.h"
14 #include "chrome/browser/chromeos/profiles/profile_helper.h"
15 #include "content/public/browser/interstitial_page.h" 14 #include "content/public/browser/interstitial_page.h"
16 #include "content/public/browser/interstitial_page_delegate.h" 15 #include "content/public/browser/interstitial_page_delegate.h"
17 #include "ui/views/controls/webview/webview.h" 16 #include "ui/views/controls/webview/webview.h"
18 17
19 namespace chromeos { 18 namespace chromeos {
20 19
21 namespace { 20 namespace {
22 21
23 class StubDelegate : public CaptivePortalWindowProxyDelegate { 22 class StubDelegate : public CaptivePortalWindowProxyDelegate {
24 public: 23 public:
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 StubDelegate delegate; 70 StubDelegate delegate;
72 CaptivePortalWindowProxy proxy(&delegate, web_contents); 71 CaptivePortalWindowProxy proxy(&delegate, web_contents);
73 proxy.Show(); 72 proxy.Show();
74 73
75 // Delegate creates a page and passes himself to it. Page owns the 74 // Delegate creates a page and passes himself to it. Page owns the
76 // delegate and will be destroyed by the end of the test. 75 // delegate and will be destroyed by the end of the test.
77 CreateDelegate(&proxy); 76 CreateDelegate(&proxy);
78 } 77 }
79 78
80 } // namespace chromeos 79 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/ui/proxy_settings_dialog.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698