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

Side by Side Diff: chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc

Issue 12387070: content: Move more constants from url_constants.h into content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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) 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 <list> 5 #include <list>
6 #include <set> 6 #include <set>
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "base/utf_string_conversions.h" 10 #include "base/utf_string_conversions.h"
(...skipping 695 matching lines...) Expand 10 before | Expand all | Expand 10 after
706 content::WaitForLoadStop(tab); 706 content::WaitForLoadStop(tab);
707 707
708 ResultCatcher catcher; 708 ResultCatcher catcher;
709 709
710 GURL url(base::StringPrintf( 710 GURL url(base::StringPrintf(
711 "http://www.a.com:%d/" 711 "http://www.a.com:%d/"
712 "files/extensions/api_test/webnavigation/crash/a.html", 712 "files/extensions/api_test/webnavigation/crash/a.html",
713 test_server()->host_port_pair().port())); 713 test_server()->host_port_pair().port()));
714 ui_test_utils::NavigateToURL(browser(), url); 714 ui_test_utils::NavigateToURL(browser(), url);
715 715
716 ui_test_utils::NavigateToURL(browser(), GURL(chrome::kChromeUICrashURL)); 716 ui_test_utils::NavigateToURL(browser(), GURL(content::kChromeUICrashURL));
717 717
718 url = GURL(base::StringPrintf( 718 url = GURL(base::StringPrintf(
719 "http://www.a.com:%d/" 719 "http://www.a.com:%d/"
720 "files/extensions/api_test/webnavigation/crash/b.html", 720 "files/extensions/api_test/webnavigation/crash/b.html",
721 test_server()->host_port_pair().port())); 721 test_server()->host_port_pair().port()));
722 ui_test_utils::NavigateToURL(browser(), url); 722 ui_test_utils::NavigateToURL(browser(), url);
723 723
724 ASSERT_TRUE(catcher.GetNextResult()) << catcher.message(); 724 ASSERT_TRUE(catcher.GetNextResult()) << catcher.message();
725 } 725 }
726 726
727 } // namespace extensions 727 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/browser/extensions/api/management/management_api_browsertest.cc ('k') | chrome/browser/instant/instant_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698