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

Side by Side Diff: chrome/browser/prerender/prerender_browsertest.cc

Issue 9030032: Get rid of a bunch of tab_contents.h includes from chrome. These are all trivial changes to use W... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix cros Created 8 years, 11 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 <deque> 5 #include <deque>
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/path_service.h" 8 #include "base/path_service.h"
9 #include "base/stringprintf.h" 9 #include "base/stringprintf.h"
10 #include "base/string_util.h" 10 #include "base/string_util.h"
(...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after
401 }; 401 };
402 #endif 402 #endif
403 403
404 class FakeDevToolsClientHost : public DevToolsClientHost { 404 class FakeDevToolsClientHost : public DevToolsClientHost {
405 public: 405 public:
406 FakeDevToolsClientHost() {} 406 FakeDevToolsClientHost() {}
407 virtual ~FakeDevToolsClientHost() {} 407 virtual ~FakeDevToolsClientHost() {}
408 virtual void InspectedTabClosing() OVERRIDE {} 408 virtual void InspectedTabClosing() OVERRIDE {}
409 virtual void FrameNavigating(const std::string& url) OVERRIDE {} 409 virtual void FrameNavigating(const std::string& url) OVERRIDE {}
410 virtual void DispatchOnInspectorFrontend(const std::string& msg) OVERRIDE {} 410 virtual void DispatchOnInspectorFrontend(const std::string& msg) OVERRIDE {}
411 virtual void TabReplaced(TabContents* new_tab) OVERRIDE {} 411 virtual void TabReplaced(WebContents* new_tab) OVERRIDE {}
412 }; 412 };
413 413
414 } // namespace 414 } // namespace
415 415
416 class PrerenderBrowserTest : public InProcessBrowserTest { 416 class PrerenderBrowserTest : public InProcessBrowserTest {
417 public: 417 public:
418 PrerenderBrowserTest() 418 PrerenderBrowserTest()
419 : prerender_contents_factory_(NULL), 419 : prerender_contents_factory_(NULL),
420 #if defined(ENABLE_SAFE_BROWSING) 420 #if defined(ENABLE_SAFE_BROWSING)
421 safe_browsing_factory_(new TestSafeBrowsingServiceFactory()), 421 safe_browsing_factory_(new TestSafeBrowsingServiceFactory()),
(...skipping 1480 matching lines...) Expand 10 before | Expand all | Expand 10 after
1902 IN_PROC_BROWSER_TEST_F(PrerenderBrowserTest, DISABLED_PrerenderSessionStorage) { 1902 IN_PROC_BROWSER_TEST_F(PrerenderBrowserTest, DISABLED_PrerenderSessionStorage) {
1903 set_loader_path("files/prerender/prerender_loader_with_session_storage.html"); 1903 set_loader_path("files/prerender/prerender_loader_with_session_storage.html");
1904 PrerenderTestURL(GetCrossDomainTestUrl("files/prerender/prerender_page.html"), 1904 PrerenderTestURL(GetCrossDomainTestUrl("files/prerender/prerender_page.html"),
1905 FINAL_STATUS_USED, 1905 FINAL_STATUS_USED,
1906 1); 1906 1);
1907 NavigateToDestURL(); 1907 NavigateToDestURL();
1908 GoBackToPageBeforePrerender(browser()); 1908 GoBackToPageBeforePrerender(browser());
1909 } 1909 }
1910 1910
1911 } // namespace prerender 1911 } // namespace prerender
OLDNEW
« no previous file with comments | « chrome/browser/notifications/desktop_notification_service.cc ('k') | chrome/browser/prerender/prerender_tab_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698