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

Side by Side Diff: chrome/test/base/testing_io_thread_state.h

Issue 1548153002: Switch to standard integer types in chrome/. (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 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 #ifndef CHROME_TEST_BASE_TESTING_IO_THREAD_STATE_H_ 5 #ifndef CHROME_TEST_BASE_TESTING_IO_THREAD_STATE_H_
6 #define CHROME_TEST_BASE_TESTING_IO_THREAD_STATE_H_ 6 #define CHROME_TEST_BASE_TESTING_IO_THREAD_STATE_H_
7 7
8 #include "base/callback_forward.h" 8 #include "base/callback_forward.h"
9 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
10 11
11 class IOThread; 12 class IOThread;
12 13
13 namespace chrome { 14 namespace chrome {
14 15
15 // Convenience class for creating an IOThread object in unittests. 16 // Convenience class for creating an IOThread object in unittests.
16 // Usual usage is to create one of these in the test fixture, after the 17 // Usual usage is to create one of these in the test fixture, after the
17 // BrowserThreadBundle and TestingBrowserProcess have been initialized. 18 // BrowserThreadBundle and TestingBrowserProcess have been initialized.
18 // 19 //
(...skipping 10 matching lines...) Expand all
29 void Shutdown(const base::Closure& done); 30 void Shutdown(const base::Closure& done);
30 31
31 scoped_ptr<IOThread> io_thread_state_; 32 scoped_ptr<IOThread> io_thread_state_;
32 33
33 DISALLOW_COPY_AND_ASSIGN(TestingIOThreadState); 34 DISALLOW_COPY_AND_ASSIGN(TestingIOThreadState);
34 }; 35 };
35 36
36 } // namespace chrome 37 } // namespace chrome
37 38
38 #endif // CHROME_TEST_BASE_TESTING_IO_THREAD_STATE_H_ 39 #endif // CHROME_TEST_BASE_TESTING_IO_THREAD_STATE_H_
OLDNEW
« no previous file with comments | « chrome/test/base/testing_browser_process_platform_part.h ('k') | chrome/test/base/testing_io_thread_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698