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

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

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