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

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

Issue 15239002: Move Extension and PermissionsData to extensions/common. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 1 month 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 "chrome/browser/extensions/extension_browsertest.h" 5 #include "chrome/browser/extensions/extension_browsertest.h"
6 #include "chrome/browser/ui/browser.h" 6 #include "chrome/browser/ui/browser.h"
7 #include "chrome/browser/ui/tabs/tab_strip_model.h" 7 #include "chrome/browser/ui/tabs/tab_strip_model.h"
8 #include "chrome/common/extensions/extension.h"
9 #include "chrome/common/url_constants.h" 8 #include "chrome/common/url_constants.h"
10 #include "chrome/test/base/ui_test_utils.h" 9 #include "chrome/test/base/ui_test_utils.h"
11 #include "content/public/browser/web_contents.h" 10 #include "content/public/browser/web_contents.h"
12 #include "content/public/test/browser_test_utils.h" 11 #include "content/public/test/browser_test_utils.h"
13 #include "extensions/common/constants.h" 12 #include "extensions/common/constants.h"
13 #include "extensions/common/extension.h"
14 14
15 using content::WebContents; 15 using content::WebContents;
16 using extensions::Extension; 16 using extensions::Extension;
17 17
18 namespace { 18 namespace {
19 19
20 const char kSubscribePage[] = "/subscribe.html"; 20 const char kSubscribePage[] = "/subscribe.html";
21 const char kFeedPageMultiRel[] = "files/feeds/feed_multi_rel.html"; 21 const char kFeedPageMultiRel[] = "files/feeds/feed_multi_rel.html";
22 const char kValidFeedNoLinks[] = "files/feeds/feed_nolinks.xml"; 22 const char kValidFeedNoLinks[] = "files/feeds/feed_nolinks.xml";
23 const char kValidFeed0[] = "files/feeds/feed_script.xml"; 23 const char kValidFeed0[] = "files/feeds/feed_script.xml";
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after
351 std::string id = extension->id(); 351 std::string id = extension->id();
352 352
353 // Valid feed but containing no links. 353 // Valid feed but containing no links.
354 NavigateToFeedAndValidate( 354 NavigateToFeedAndValidate(
355 test_server(), kValidFeedNoLinks, browser(), id, true, 355 test_server(), kValidFeedNoLinks, browser(), id, true,
356 "Feed for MyFeedTitle", 356 "Feed for MyFeedTitle",
357 "Title with no link", 357 "Title with no link",
358 "Desc", 358 "Desc",
359 "No error"); 359 "No error");
360 } 360 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/state_store.cc ('k') | chrome/browser/extensions/suggest_permission_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698