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

Side by Side Diff: chrome/browser/extensions/updater/extension_updater_unittest.cc

Issue 10532037: Revert r139371 and r138961 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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 <map> 5 #include <map>
6 #include <set> 6 #include <set>
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/file_util.h" 10 #include "base/file_util.h"
(...skipping 1276 matching lines...) Expand 10 before | Expand all | Expand 10 after
1287 1287
1288 TEST_F(ExtensionUpdaterTest, TestBlacklistUpdateCheckRequests) { 1288 TEST_F(ExtensionUpdaterTest, TestBlacklistUpdateCheckRequests) {
1289 TestBlacklistUpdateCheckRequests(); 1289 TestBlacklistUpdateCheckRequests();
1290 } 1290 }
1291 1291
1292 TEST_F(ExtensionUpdaterTest, TestUpdateUrlData) { 1292 TEST_F(ExtensionUpdaterTest, TestUpdateUrlData) {
1293 TestUpdateUrlDataEmpty(); 1293 TestUpdateUrlDataEmpty();
1294 TestUpdateUrlDataSimple(); 1294 TestUpdateUrlDataSimple();
1295 TestUpdateUrlDataCompound(); 1295 TestUpdateUrlDataCompound();
1296 TestUpdateUrlDataFromGallery( 1296 TestUpdateUrlDataFromGallery(
1297 extension_urls::GetWebstoreUpdateUrl().spec()); 1297 extension_urls::GetWebstoreUpdateUrl(false).spec());
1298 TestUpdateUrlDataFromGallery(
1299 extension_urls::GetWebstoreUpdateUrl(true).spec());
1298 } 1300 }
1299 1301
1300 TEST_F(ExtensionUpdaterTest, TestInstallSource) { 1302 TEST_F(ExtensionUpdaterTest, TestInstallSource) {
1301 TestInstallSource(); 1303 TestInstallSource();
1302 } 1304 }
1303 1305
1304 TEST_F(ExtensionUpdaterTest, TestDetermineUpdates) { 1306 TEST_F(ExtensionUpdaterTest, TestDetermineUpdates) {
1305 TestDetermineUpdates(); 1307 TestDetermineUpdates();
1306 } 1308 }
1307 1309
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
1505 // -prodversionmin (shouldn't update if browser version too old) 1507 // -prodversionmin (shouldn't update if browser version too old)
1506 // -manifests & updates arriving out of order / interleaved 1508 // -manifests & updates arriving out of order / interleaved
1507 // -malformed update url (empty, file://, has query, has a # fragment, etc.) 1509 // -malformed update url (empty, file://, has query, has a # fragment, etc.)
1508 // -An extension gets uninstalled while updates are in progress (so it doesn't 1510 // -An extension gets uninstalled while updates are in progress (so it doesn't
1509 // "come back from the dead") 1511 // "come back from the dead")
1510 // -An extension gets manually updated to v3 while we're downloading v2 (ie 1512 // -An extension gets manually updated to v3 while we're downloading v2 (ie
1511 // you don't get downgraded accidentally) 1513 // you don't get downgraded accidentally)
1512 // -An update manifest mentions multiple updates 1514 // -An update manifest mentions multiple updates
1513 1515
1514 } // namespace extensions 1516 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/browser/extensions/updater/extension_downloader.cc ('k') | chrome/browser/extensions/webstore_installer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698