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

Side by Side Diff: chrome/test/data/extensions/api_test/history/get_visits.js

Issue 8758008: Move another block of extension tests to manifest_version 2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years 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.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
1 // History api test for Chrome. 5 // History api test for Chrome.
2 // browser_tests.exe --gtest_filter=ExtensionHistoryApiTest.GetVisits 6 // browser_tests.exe --gtest_filter=ExtensionHistoryApiTest.GetVisits
3 7
4 // runHistoryTestFns is defined in ./common.js . 8 // runHistoryTestFns is defined in ./common.js .
5 runHistoryTestFns([ 9 runHistoryTestFns([
6 function getVisits() { 10 function getVisits() {
7 // getVisits callback. 11 // getVisits callback.
8 function getVisitsTestVerification() { 12 function getVisitsTestVerification() {
9 removeItemVisitedListener(); 13 removeItemVisitedListener();
10 14
(...skipping 13 matching lines...) Expand all
24 }); 28 });
25 }); 29 });
26 }; 30 };
27 // getVisits entry point. 31 // getVisits entry point.
28 chrome.history.deleteAll(function() { 32 chrome.history.deleteAll(function() {
29 setItemVisitedListener(getVisitsTestVerification); 33 setItemVisitedListener(getVisitsTestVerification);
30 populateHistory([GOOGLE_URL], function() { }); 34 populateHistory([GOOGLE_URL], function() { });
31 }); 35 });
32 } 36 }
33 ]); 37 ]);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698