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

Side by Side Diff: chrome/browser/extensions/extension_browsertests_misc.cc

Issue 10383195: Remove browser_view.h include from extension_browsertests_misc.cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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
« no previous file with comments | « chrome/browser/chrome_browser_main_extra_parts_views.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/file_util.h" 5 #include "base/file_util.h"
6 #include "base/memory/ref_counted.h" 6 #include "base/memory/ref_counted.h"
7 #include "base/utf_string_conversions.h" 7 #include "base/utf_string_conversions.h"
8 #include "chrome/browser/extensions/autoupdate_interceptor.h" 8 #include "chrome/browser/extensions/autoupdate_interceptor.h"
9 #include "chrome/browser/extensions/extension_apitest.h" 9 #include "chrome/browser/extensions/extension_apitest.h"
10 #include "chrome/browser/extensions/extension_browsertest.h" 10 #include "chrome/browser/extensions/extension_browsertest.h"
(...skipping 14 matching lines...) Expand all
25 #include "chrome/test/base/ui_test_utils.h" 25 #include "chrome/test/base/ui_test_utils.h"
26 #include "content/public/browser/navigation_entry.h" 26 #include "content/public/browser/navigation_entry.h"
27 #include "content/public/browser/notification_service.h" 27 #include "content/public/browser/notification_service.h"
28 #include "content/public/browser/render_view_host.h" 28 #include "content/public/browser/render_view_host.h"
29 #include "content/public/browser/render_view_host_delegate.h" 29 #include "content/public/browser/render_view_host_delegate.h"
30 #include "content/public/browser/web_contents.h" 30 #include "content/public/browser/web_contents.h"
31 #include "net/base/net_util.h" 31 #include "net/base/net_util.h"
32 #include "net/test/test_server.h" 32 #include "net/test/test_server.h"
33 #include "webkit/glue/webpreferences.h" 33 #include "webkit/glue/webpreferences.h"
34 34
35 #if defined(TOOLKIT_VIEWS)
36 #include "chrome/browser/ui/views/frame/browser_view.h"
37 #endif
38
39 using content::NavigationController; 35 using content::NavigationController;
40 using content::WebContents; 36 using content::WebContents;
41 37
42 const std::string kSubscribePage = "/subscribe.html"; 38 const std::string kSubscribePage = "/subscribe.html";
43 const std::string kFeedPage = "files/feeds/feed.html"; 39 const std::string kFeedPage = "files/feeds/feed.html";
44 const std::string kFeedPageMultiRel = "files/feeds/feed_multi_rel.html"; 40 const std::string kFeedPageMultiRel = "files/feeds/feed_multi_rel.html";
45 const std::string kNoFeedPage = "files/feeds/no_feed.html"; 41 const std::string kNoFeedPage = "files/feeds/no_feed.html";
46 const std::string kValidFeed0 = "files/feeds/feed_script.xml"; 42 const std::string kValidFeed0 = "files/feeds/feed_script.xml";
47 const std::string kValidFeed1 = "files/feeds/feed1.xml"; 43 const std::string kValidFeed1 = "files/feeds/feed1.xml";
48 const std::string kValidFeed2 = "files/feeds/feed2.xml"; 44 const std::string kValidFeed2 = "files/feeds/feed2.xml";
(...skipping 877 matching lines...) Expand 10 before | Expand all | Expand 10 after
926 922
927 EXPECT_EQ(extension->GetResourceURL("options.html"), 923 EXPECT_EQ(extension->GetResourceURL("options.html"),
928 tab_strip->GetTabContentsAt(1)->web_contents()->GetURL()); 924 tab_strip->GetTabContentsAt(1)->web_contents()->GetURL());
929 } 925 }
930 926
931 //============================================================================== 927 //==============================================================================
932 // STOP! Please do not add any more random-ass tests here. Create new files for 928 // STOP! Please do not add any more random-ass tests here. Create new files for
933 // your tests grouped by functionality. Also, you should strongly consider using 929 // your tests grouped by functionality. Also, you should strongly consider using
934 // ExtensionAPITest if possible. 930 // ExtensionAPITest if possible.
935 //============================================================================== 931 //==============================================================================
OLDNEW
« no previous file with comments | « chrome/browser/chrome_browser_main_extra_parts_views.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698