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

Side by Side Diff: components/update_client/update_client_unittest.cc

Issue 2293933003: Remove whitespace in the <ping> element closing tag in the comp updater. (Closed)
Patch Set: Remove more whitespace. Created 4 years, 3 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 <memory> 5 #include <memory>
6 #include <utility> 6 #include <utility>
7 7
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/bind_helpers.h" 9 #include "base/bind_helpers.h"
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
(...skipping 1073 matching lines...) Expand 10 before | Expand all | Expand 10 after
1084 <url codebasediff='http://localhost/download/'/> 1084 <url codebasediff='http://localhost/download/'/>
1085 </urls> 1085 </urls>
1086 <manifest version='2.0' prodversionmin='11.0.1.0'> 1086 <manifest version='2.0' prodversionmin='11.0.1.0'>
1087 <packages> 1087 <packages>
1088 <package name='ihfokbkgjpifnbbojhneepfflplebdkc_2.crx' 1088 <package name='ihfokbkgjpifnbbojhneepfflplebdkc_2.crx'
1089 namediff='ihfokbkgjpifnbbojhneepfflplebdkc_1to2.crx' 1089 namediff='ihfokbkgjpifnbbojhneepfflplebdkc_1to2.crx'
1090 hash_sha256='1af337fbd19c72db0f870753bcd7711c3ae9dcaa 1090 hash_sha256='1af337fbd19c72db0f870753bcd7711c3ae9dcaa
1091 0ecde26c262bad942b112990' 1091 0ecde26c262bad942b112990'
1092 fp='22' 1092 fp='22'
1093 hashdiff_sha256='73c6e2d4f783fc4ca5481e89e0b8bfce7aec 1093 hashdiff_sha256='73c6e2d4f783fc4ca5481e89e0b8bfce7aec
1094 8ead3686290c94792658ec06f2f2' 1094 8ead3686290c94792658ec06f2f2'/>
1095 />
1096 </packages> 1095 </packages>
1097 </manifest> 1096 </manifest>
1098 </updatecheck> 1097 </updatecheck>
1099 </app> 1098 </app>
1100 </response> 1099 </response>
1101 */ 1100 */
1102 UpdateResponse::Result::Manifest::Package package; 1101 UpdateResponse::Result::Manifest::Package package;
1103 package.name = "ihfokbkgjpifnbbojhneepfflplebdkc_2.crx"; 1102 package.name = "ihfokbkgjpifnbbojhneepfflplebdkc_2.crx";
1104 package.namediff = "ihfokbkgjpifnbbojhneepfflplebdkc_1to2.crx"; 1103 package.namediff = "ihfokbkgjpifnbbojhneepfflplebdkc_1to2.crx";
1105 package.hash_sha256 = 1104 package.hash_sha256 =
(...skipping 456 matching lines...) Expand 10 before | Expand all | Expand 10 after
1562 <url codebasediff='http://localhost/download/'/> 1561 <url codebasediff='http://localhost/download/'/>
1563 </urls> 1562 </urls>
1564 <manifest version='2.0' prodversionmin='11.0.1.0'> 1563 <manifest version='2.0' prodversionmin='11.0.1.0'>
1565 <packages> 1564 <packages>
1566 <package name='ihfokbkgjpifnbbojhneepfflplebdkc_2.crx' 1565 <package name='ihfokbkgjpifnbbojhneepfflplebdkc_2.crx'
1567 namediff='ihfokbkgjpifnbbojhneepfflplebdkc_1to2.crx' 1566 namediff='ihfokbkgjpifnbbojhneepfflplebdkc_1to2.crx'
1568 hash_sha256='1af337fbd19c72db0f870753bcd7711c3ae9dcaa 1567 hash_sha256='1af337fbd19c72db0f870753bcd7711c3ae9dcaa
1569 0ecde26c262bad942b112990' 1568 0ecde26c262bad942b112990'
1570 fp='22' 1569 fp='22'
1571 hashdiff_sha256='73c6e2d4f783fc4ca5481e89e0b8bfce7aec 1570 hashdiff_sha256='73c6e2d4f783fc4ca5481e89e0b8bfce7aec
1572 8ead3686290c94792658ec06f2f2' 1571 8ead3686290c94792658ec06f2f2'/>
1573 />
1574 </packages> 1572 </packages>
1575 </manifest> 1573 </manifest>
1576 </updatecheck> 1574 </updatecheck>
1577 </app> 1575 </app>
1578 </response> 1576 </response>
1579 */ 1577 */
1580 UpdateResponse::Result::Manifest::Package package; 1578 UpdateResponse::Result::Manifest::Package package;
1581 package.name = "ihfokbkgjpifnbbojhneepfflplebdkc_2.crx"; 1579 package.name = "ihfokbkgjpifnbbojhneepfflplebdkc_2.crx";
1582 package.namediff = "ihfokbkgjpifnbbojhneepfflplebdkc_1to2.crx"; 1580 package.namediff = "ihfokbkgjpifnbbojhneepfflplebdkc_1to2.crx";
1583 package.hash_sha256 = 1581 package.hash_sha256 =
(...skipping 1109 matching lines...) Expand 10 before | Expand all | Expand 10 after
2693 update_client->Update( 2691 update_client->Update(
2694 ids, base::Bind(&DataCallbackFake::Callback), 2692 ids, base::Bind(&DataCallbackFake::Callback),
2695 base::Bind(&CompletionCallbackFake::Callback, quit_closure())); 2693 base::Bind(&CompletionCallbackFake::Callback, quit_closure()));
2696 2694
2697 RunThreads(); 2695 RunThreads();
2698 2696
2699 update_client->RemoveObserver(&observer); 2697 update_client->RemoveObserver(&observer);
2700 } 2698 }
2701 2699
2702 } // namespace update_client 2700 } // namespace update_client
OLDNEW
« no previous file with comments | « components/update_client/update_checker.cc ('k') | components/update_client/update_response_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698