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

Side by Side Diff: content/browser/web_contents/web_contents_impl_unittest.cc

Issue 2090463002: Move net/base/test_data_directory.[cc,h] to net/test (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 <stdint.h> 5 #include <stdint.h>
6 #include <utility> 6 #include <utility>
7 7
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 #include "content/public/common/content_constants.h" 42 #include "content/public/common/content_constants.h"
43 #include "content/public/common/url_constants.h" 43 #include "content/public/common/url_constants.h"
44 #include "content/public/test/mock_render_process_host.h" 44 #include "content/public/test/mock_render_process_host.h"
45 #include "content/public/test/test_browser_context.h" 45 #include "content/public/test/test_browser_context.h"
46 #include "content/public/test/test_utils.h" 46 #include "content/public/test/test_utils.h"
47 #include "content/test/test_content_browser_client.h" 47 #include "content/test/test_content_browser_client.h"
48 #include "content/test/test_content_client.h" 48 #include "content/test/test_content_client.h"
49 #include "content/test/test_render_frame_host.h" 49 #include "content/test/test_render_frame_host.h"
50 #include "content/test/test_render_view_host.h" 50 #include "content/test/test_render_view_host.h"
51 #include "content/test/test_web_contents.h" 51 #include "content/test/test_web_contents.h"
52 #include "net/base/test_data_directory.h"
53 #include "net/test/cert_test_util.h" 52 #include "net/test/cert_test_util.h"
53 #include "net/test/test_data_directory.h"
54 #include "testing/gtest/include/gtest/gtest.h" 54 #include "testing/gtest/include/gtest/gtest.h"
55 #include "third_party/skia/include/core/SkColor.h" 55 #include "third_party/skia/include/core/SkColor.h"
56 #include "url/url_constants.h" 56 #include "url/url_constants.h"
57 57
58 namespace content { 58 namespace content {
59 namespace { 59 namespace {
60 60
61 class TestInterstitialPage; 61 class TestInterstitialPage;
62 62
63 class TestInterstitialPageDelegate : public InterstitialPageDelegate { 63 class TestInterstitialPageDelegate : public InterstitialPageDelegate {
(...skipping 3397 matching lines...) Expand 10 before | Expand all | Expand 10 after
3461 // An automatic navigation. 3461 // An automatic navigation.
3462 contents()->GetMainFrame()->SendNavigateWithModificationCallback( 3462 contents()->GetMainFrame()->SendNavigateWithModificationCallback(
3463 2, 0, true, GURL(url::kAboutBlankURL), base::Bind(SetAsNonUserGesture)); 3463 2, 0, true, GURL(url::kAboutBlankURL), base::Bind(SetAsNonUserGesture));
3464 3464
3465 EXPECT_EQ(1u, dialog_manager.reset_count()); 3465 EXPECT_EQ(1u, dialog_manager.reset_count());
3466 3466
3467 contents()->SetJavaScriptDialogManagerForTesting(nullptr); 3467 contents()->SetJavaScriptDialogManagerForTesting(nullptr);
3468 } 3468 }
3469 3469
3470 } // namespace content 3470 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/shared_worker/worker_browsertest.cc ('k') | ios/web/net/cert_host_pair_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698