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

Side by Side Diff: net/url_request/sdch_dictionary_fetcher_unittest.cc

Issue 877443002: Naming and refactoring changes to SdchDictionaryFetcher. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Incorporated latest comments. Created 5 years, 10 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "net/url_request/sdch_dictionary_fetcher.h" 5 #include "net/url_request/sdch_dictionary_fetcher.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/message_loop/message_loop_proxy.h" 10 #include "base/message_loop/message_loop_proxy.h"
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 179
180 fetcher()->Schedule(dictionary_url_1); 180 fetcher()->Schedule(dictionary_url_1);
181 fetcher()->Schedule(dictionary_url_2); 181 fetcher()->Schedule(dictionary_url_2);
182 fetcher()->Schedule(dictionary_url_3); 182 fetcher()->Schedule(dictionary_url_3);
183 fetcher()->Cancel(); 183 fetcher()->Cancel();
184 base::RunLoop().RunUntilIdle(); 184 base::RunLoop().RunUntilIdle();
185 185
186 // Synchronous execution may have resulted in a single job being scheduled. 186 // Synchronous execution may have resulted in a single job being scheduled.
187 EXPECT_GE(1, JobsRequested()); 187 EXPECT_GE(1, JobsRequested());
188 } 188 }
189 } 189
190 } // namespace net
OLDNEW
« net/url_request/sdch_dictionary_fetcher.cc ('K') | « net/url_request/sdch_dictionary_fetcher.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698