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

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

Issue 6204002: Carnitas: Remove chrome/browser/views, update references. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Yay, more syncing Created 9 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) 2010 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 "base/file_util.h" 5 #include "base/file_util.h"
6 #include "base/ref_counted.h" 6 #include "base/ref_counted.h"
7 #include "base/utf_string_conversions.h" 7 #include "base/utf_string_conversions.h"
8 #include "chrome/browser/browser_list.h" 8 #include "chrome/browser/browser_list.h"
9 #include "chrome/browser/extensions/autoupdate_interceptor.h" 9 #include "chrome/browser/extensions/autoupdate_interceptor.h"
10 #include "chrome/browser/extensions/extension_apitest.h" 10 #include "chrome/browser/extensions/extension_apitest.h"
11 #include "chrome/browser/extensions/extension_browsertest.h" 11 #include "chrome/browser/extensions/extension_browsertest.h"
(...skipping 12 matching lines...) Expand all
24 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" 24 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
25 #include "chrome/common/chrome_paths.h" 25 #include "chrome/common/chrome_paths.h"
26 #include "chrome/common/extensions/extension_action.h" 26 #include "chrome/common/extensions/extension_action.h"
27 #include "chrome/common/url_constants.h" 27 #include "chrome/common/url_constants.h"
28 #include "chrome/test/ui_test_utils.h" 28 #include "chrome/test/ui_test_utils.h"
29 #include "net/base/mock_host_resolver.h" 29 #include "net/base/mock_host_resolver.h"
30 #include "net/base/net_util.h" 30 #include "net/base/net_util.h"
31 #include "net/test/test_server.h" 31 #include "net/test/test_server.h"
32 32
33 #if defined(TOOLKIT_VIEWS) 33 #if defined(TOOLKIT_VIEWS)
34 #include "chrome/browser/views/frame/browser_view.h" 34 #include "chrome/browser/ui/views/frame/browser_view.h"
35 #endif 35 #endif
36 36
37 const std::string kSubscribePage = "/subscribe.html"; 37 const std::string kSubscribePage = "/subscribe.html";
38 const std::string kFeedPage = "files/feeds/feed.html"; 38 const std::string kFeedPage = "files/feeds/feed.html";
39 const std::string kFeedPageMultiRel = "files/feeds/feed_multi_rel.html"; 39 const std::string kFeedPageMultiRel = "files/feeds/feed_multi_rel.html";
40 const std::string kNoFeedPage = "files/feeds/no_feed.html"; 40 const std::string kNoFeedPage = "files/feeds/no_feed.html";
41 const std::string kValidFeed0 = "files/feeds/feed_script.xml"; 41 const std::string kValidFeed0 = "files/feeds/feed_script.xml";
42 const std::string kValidFeed1 = "files/feeds/feed1.xml"; 42 const std::string kValidFeed1 = "files/feeds/feed1.xml";
43 const std::string kValidFeed2 = "files/feeds/feed2.xml"; 43 const std::string kValidFeed2 = "files/feeds/feed2.xml";
44 const std::string kValidFeed3 = "files/feeds/feed3.xml"; 44 const std::string kValidFeed3 = "files/feeds/feed3.xml";
(...skipping 851 matching lines...) Expand 10 before | Expand all | Expand 10 after
896 L" window.chrome.app.isInstalled = false;" 896 L" window.chrome.app.isInstalled = false;"
897 L" return 'BAD: Should have thrown by now...';" 897 L" return 'BAD: Should have thrown by now...';"
898 L" } catch (e) {" 898 L" } catch (e) {"
899 L" return 'GOOD: Saw expected error.';" 899 L" return 'GOOD: Saw expected error.';"
900 L" }" 900 L" }"
901 L" }()" 901 L" }()"
902 L");", 902 L");",
903 &result)); 903 &result));
904 EXPECT_EQ("GOOD: Saw expected error.", result); 904 EXPECT_EQ("GOOD: Saw expected error.", result);
905 } 905 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/browser_action_test_util_views.cc ('k') | chrome/browser/extensions/extension_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698