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

Side by Side Diff: chrome/browser/chromeos/policy/device_local_account_browsertest.cc

Issue 479933003: Move NativeAppWindow to extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 <map> 5 #include <map>
6 #include <set> 6 #include <set>
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "apps/app_window.h"
10 #include "apps/app_window_registry.h" 11 #include "apps/app_window_registry.h"
11 #include "apps/ui/native_app_window.h"
12 #include "ash/shell.h" 12 #include "ash/shell.h"
13 #include "ash/system/chromeos/session/logout_confirmation_controller.h" 13 #include "ash/system/chromeos/session/logout_confirmation_controller.h"
14 #include "ash/system/chromeos/session/logout_confirmation_dialog.h" 14 #include "ash/system/chromeos/session/logout_confirmation_dialog.h"
15 #include "base/basictypes.h" 15 #include "base/basictypes.h"
16 #include "base/bind.h" 16 #include "base/bind.h"
17 #include "base/bind_helpers.h" 17 #include "base/bind_helpers.h"
18 #include "base/callback.h" 18 #include "base/callback.h"
19 #include "base/command_line.h" 19 #include "base/command_line.h"
20 #include "base/file_util.h" 20 #include "base/file_util.h"
21 #include "base/files/file_path.h" 21 #include "base/files/file_path.h"
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 #include "components/user_manager/user_type.h" 107 #include "components/user_manager/user_type.h"
108 #include "content/public/browser/browser_thread.h" 108 #include "content/public/browser/browser_thread.h"
109 #include "content/public/browser/notification_details.h" 109 #include "content/public/browser/notification_details.h"
110 #include "content/public/browser/notification_service.h" 110 #include "content/public/browser/notification_service.h"
111 #include "content/public/browser/notification_source.h" 111 #include "content/public/browser/notification_source.h"
112 #include "content/public/browser/web_contents.h" 112 #include "content/public/browser/web_contents.h"
113 #include "content/public/browser/web_ui.h" 113 #include "content/public/browser/web_ui.h"
114 #include "content/public/test/browser_test_utils.h" 114 #include "content/public/test/browser_test_utils.h"
115 #include "content/public/test/test_utils.h" 115 #include "content/public/test/test_utils.h"
116 #include "crypto/rsa_private_key.h" 116 #include "crypto/rsa_private_key.h"
117 #include "extensions/browser/app_window/native_app_window.h"
117 #include "extensions/browser/extension_system.h" 118 #include "extensions/browser/extension_system.h"
118 #include "extensions/browser/management_policy.h" 119 #include "extensions/browser/management_policy.h"
119 #include "extensions/browser/notification_types.h" 120 #include "extensions/browser/notification_types.h"
120 #include "extensions/common/extension.h" 121 #include "extensions/common/extension.h"
121 #include "net/base/url_util.h" 122 #include "net/base/url_util.h"
122 #include "net/http/http_status_code.h" 123 #include "net/http/http_status_code.h"
123 #include "net/test/embedded_test_server/embedded_test_server.h" 124 #include "net/test/embedded_test_server/embedded_test_server.h"
124 #include "net/test/embedded_test_server/http_request.h" 125 #include "net/test/embedded_test_server/http_request.h"
125 #include "net/test/embedded_test_server/http_response.h" 126 #include "net/test/embedded_test_server/http_response.h"
126 #include "net/url_request/test_url_fetcher_factory.h" 127 #include "net/url_request/test_url_fetcher_factory.h"
(...skipping 1897 matching lines...) Expand 10 before | Expand all | Expand 10 after
2024 ASSERT_TRUE(content::ExecuteScript(contents_, 2025 ASSERT_TRUE(content::ExecuteScript(contents_,
2025 "$('tos-accept-button').click();")); 2026 "$('tos-accept-button').click();"));
2026 2027
2027 WaitForSessionStart(); 2028 WaitForSessionStart();
2028 } 2029 }
2029 2030
2030 INSTANTIATE_TEST_CASE_P(TermsOfServiceDownloadTestInstance, 2031 INSTANTIATE_TEST_CASE_P(TermsOfServiceDownloadTestInstance,
2031 TermsOfServiceDownloadTest, testing::Bool()); 2032 TermsOfServiceDownloadTest, testing::Bool());
2032 2033
2033 } // namespace policy 2034 } // namespace policy
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698