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

Side by Side Diff: chrome/browser/extensions/api/tab_capture/tab_capture_apitest.cc

Issue 584513003: Move extension_test_message_listener to extensions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 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 (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 "base/basictypes.h" 5 #include "base/basictypes.h"
6 #include "base/command_line.h" 6 #include "base/command_line.h"
7 #include "base/strings/stringprintf.h" 7 #include "base/strings/stringprintf.h"
8 #include "chrome/browser/extensions/extension_apitest.h" 8 #include "chrome/browser/extensions/extension_apitest.h"
9 #include "chrome/browser/extensions/extension_test_message_listener.h"
10 #include "chrome/browser/extensions/tab_helper.h" 9 #include "chrome/browser/extensions/tab_helper.h"
11 #include "chrome/browser/profiles/profile.h" 10 #include "chrome/browser/profiles/profile.h"
12 #include "chrome/browser/ui/fullscreen/fullscreen_controller.h" 11 #include "chrome/browser/ui/fullscreen/fullscreen_controller.h"
13 #include "chrome/common/chrome_version_info.h" 12 #include "chrome/common/chrome_version_info.h"
14 #include "content/public/browser/render_frame_host.h" 13 #include "content/public/browser/render_frame_host.h"
15 #include "content/public/browser/render_process_host.h" 14 #include "content/public/browser/render_process_host.h"
16 #include "extensions/browser/extension_registry.h" 15 #include "extensions/browser/extension_registry.h"
17 #include "extensions/common/switches.h" 16 #include "extensions/common/switches.h"
17 #include "extensions/test/extension_test_message_listener.h"
18 #include "extensions/test/result_catcher.h" 18 #include "extensions/test/result_catcher.h"
19 19
20 #if defined(OS_WIN) 20 #if defined(OS_WIN)
21 #include "base/win/windows_version.h" 21 #include "base/win/windows_version.h"
22 #endif 22 #endif
23 23
24 #if defined(OS_WIN) && defined(USE_ASH) 24 #if defined(OS_WIN) && defined(USE_ASH)
25 #include "chrome/test/base/test_switches.h" 25 #include "chrome/test/base/test_switches.h"
26 #endif 26 #endif
27 27
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
288 #endif 288 #endif
289 IN_PROC_BROWSER_TEST_F(TabCaptureApiTest, MAYBE_Constraints) { 289 IN_PROC_BROWSER_TEST_F(TabCaptureApiTest, MAYBE_Constraints) {
290 AddExtensionToCommandLineWhitelist(); 290 AddExtensionToCommandLineWhitelist();
291 ASSERT_TRUE(RunExtensionSubtest("tab_capture", "constraints.html")) 291 ASSERT_TRUE(RunExtensionSubtest("tab_capture", "constraints.html"))
292 << message_; 292 << message_;
293 } 293 }
294 294
295 } // namespace 295 } // namespace
296 296
297 } // namespace extensions 297 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698