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

Side by Side Diff: extensions/browser/guest_view/mime_handler_view/mime_handler_view_browsertest.cc

Issue 2598963005: Include-what-you-use for WrapUnique/MakeUnique. (Closed)
Patch Set: restore order of includes in x11_topmost_window_finder_interactive_uitest.cc Created 3 years, 12 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 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/base_paths.h" 5 #include "base/base_paths.h"
6 #include "base/bind.h" 6 #include "base/bind.h"
7 #include "base/files/file_util.h" 7 #include "base/files/file_util.h"
8 #include "base/location.h" 8 #include "base/location.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/memory/ptr_util.h"
10 #include "base/path_service.h" 11 #include "base/path_service.h"
11 #include "base/run_loop.h" 12 #include "base/run_loop.h"
12 #include "chrome/browser/extensions/extension_apitest.h" 13 #include "chrome/browser/extensions/extension_apitest.h"
13 #include "chrome/test/base/ui_test_utils.h" 14 #include "chrome/test/base/ui_test_utils.h"
14 #include "components/guest_view/browser/test_guest_view_manager.h" 15 #include "components/guest_view/browser/test_guest_view_manager.h"
15 #include "content/public/browser/browser_thread.h" 16 #include "content/public/browser/browser_thread.h"
16 #include "content/public/common/content_features.h" 17 #include "content/public/common/content_features.h"
17 #include "content/public/common/content_switches.h" 18 #include "content/public/common/content_switches.h"
18 #include "content/public/test/browser_test_utils.h" 19 #include "content/public/test/browser_test_utils.h"
19 #include "extensions/browser/api/extensions_api_client.h" 20 #include "extensions/browser/api/extensions_api_client.h"
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 CHECK_EQ(guest_size.height(), 400); 278 CHECK_EQ(guest_size.height(), 400);
278 } 279 }
279 280
280 // Regression test for crbug.com/587709. 281 // Regression test for crbug.com/587709.
281 IN_PROC_BROWSER_TEST_P(MimeHandlerViewTest, SingleRequest) { 282 IN_PROC_BROWSER_TEST_P(MimeHandlerViewTest, SingleRequest) {
282 GURL url(embedded_test_server()->GetURL("/testBasic.csv")); 283 GURL url(embedded_test_server()->GetURL("/testBasic.csv"));
283 URLRequestCounter request_counter(url); 284 URLRequestCounter request_counter(url);
284 RunTest("testBasic.csv"); 285 RunTest("testBasic.csv");
285 EXPECT_EQ(1, request_counter.GetCount()); 286 EXPECT_EQ(1, request_counter.GetCount());
286 } 287 }
OLDNEW
« no previous file with comments | « extensions/browser/extension_function_dispatcher.cc ('k') | extensions/browser/lazy_background_task_queue.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698