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

Side by Side Diff: components/data_reduction_proxy/content/browser/data_reduction_proxy_debug_ui_manager_unittest.cc

Issue 1546143002: Switch to standard integer types in components/, part 1 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 "components/data_reduction_proxy/content/browser/data_reduction_proxy_d ebug_ui_manager.h" 5 #include "components/data_reduction_proxy/content/browser/data_reduction_proxy_d ebug_ui_manager.h"
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/macros.h"
11 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
12 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
13 #include "base/run_loop.h" 14 #include "base/run_loop.h"
14 #include "content/public/browser/browser_thread.h" 15 #include "content/public/browser/browser_thread.h"
15 #include "content/public/test/test_browser_thread_bundle.h" 16 #include "content/public/test/test_browser_thread_bundle.h"
16 #include "net/url_request/url_request.h" 17 #include "net/url_request/url_request.h"
17 #include "net/url_request/url_request_test_util.h" 18 #include "net/url_request/url_request_test_util.h"
18 #include "testing/gtest/include/gtest/gtest.h" 19 #include "testing/gtest/include/gtest/gtest.h"
19 20
20 namespace data_reduction_proxy { 21 namespace data_reduction_proxy {
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 ResetState(); 169 ResetState();
169 content::BrowserThread::PostTask( 170 content::BrowserThread::PostTask(
170 content::BrowserThread::UI, FROM_HERE, 171 content::BrowserThread::UI, FROM_HERE,
171 base::Bind(&DataReductionProxyDebugUIManager::OnBlockingPageDone, 172 base::Bind(&DataReductionProxyDebugUIManager::OnBlockingPageDone,
172 ui_manager_, resources, true)); 173 ui_manager_, resources, true));
173 base::RunLoop().RunUntilIdle(); 174 base::RunLoop().RunUntilIdle();
174 EXPECT_EQ(PROCEED, state_); 175 EXPECT_EQ(PROCEED, state_);
175 } 176 }
176 177
177 } // namespace data_reduction_proxy 178 } // namespace data_reduction_proxy
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698