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

Side by Side Diff: components/nacl/browser/pnacl_translation_cache_unittest.cc

Issue 1548113002: Switch to standard integer types in components/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn Created 4 years, 11 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/nacl/browser/pnacl_translation_cache.h" 5 #include "components/nacl/browser/pnacl_translation_cache.h"
6 6
7 #include "base/files/file_path.h" 7 #include "base/files/file_path.h"
8 #include "base/files/scoped_temp_dir.h" 8 #include "base/files/scoped_temp_dir.h"
9 #include "base/message_loop/message_loop.h" 9 #include "base/message_loop/message_loop.h"
10 #include "base/run_loop.h" 10 #include "base/run_loop.h"
11 #include "build/build_config.h"
11 #include "components/nacl/common/pnacl_types.h" 12 #include "components/nacl/common/pnacl_types.h"
12 #include "content/public/browser/browser_thread.h" 13 #include "content/public/browser/browser_thread.h"
13 #include "content/public/test/test_browser_thread_bundle.h" 14 #include "content/public/test/test_browser_thread_bundle.h"
14 #include "net/base/io_buffer.h" 15 #include "net/base/io_buffer.h"
15 #include "net/base/test_completion_callback.h" 16 #include "net/base/test_completion_callback.h"
16 #include "testing/gtest/include/gtest/gtest.h" 17 #include "testing/gtest/include/gtest/gtest.h"
17 18
18 // For fine-grained suppression on flaky tests. 19 // For fine-grained suppression on flaky tests.
19 #if defined(OS_WIN) 20 #if defined(OS_WIN)
20 #include "base/win/windows_version.h" 21 #include "base/win/windows_version.h"
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 StoreNexe(test_key, test_store_val); 300 StoreNexe(test_key, test_store_val);
300 TestNexeCallback load_cb; 301 TestNexeCallback load_cb;
301 std::string nexe; 302 std::string nexe;
302 cache_->GetNexe(test_key + "a", load_cb.callback()); 303 cache_->GetNexe(test_key + "a", load_cb.callback());
303 int rv; 304 int rv;
304 scoped_refptr<net::DrainableIOBuffer> buf(load_cb.GetResult(&rv)); 305 scoped_refptr<net::DrainableIOBuffer> buf(load_cb.GetResult(&rv));
305 EXPECT_EQ(net::ERR_FAILED, rv); 306 EXPECT_EQ(net::ERR_FAILED, rv);
306 } 307 }
307 308
308 } // namespace pnacl 309 } // namespace pnacl
OLDNEW
« no previous file with comments | « components/nacl/browser/pnacl_translation_cache.cc ('k') | components/nacl/browser/test_nacl_browser_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698