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

Side by Side Diff: o3d/import/cross/main_thread_archive_callback_client.h

Issue 6028009: Move base/thread.h to base/threading, fix up callers to use the new location.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 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 | Annotate | Revision Log
« no previous file with comments | « net/url_request/url_request_unittest.h ('k') | o3d/import/cross/threaded_stream_processor.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2009, Google Inc. 2 * Copyright 2009, Google Inc.
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 18 matching lines...) Expand all
29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 */ 30 */
31 31
32 // MainThreadArchiveCallbackClient forwards data from one thread to 32 // MainThreadArchiveCallbackClient forwards data from one thread to
33 // another client that will run on the main thread. 33 // another client that will run on the main thread.
34 34
35 #ifndef O3D_IMPORT_CROSS_MAIN_THREAD_ARCHIVE_CALLBACK_CLIENT_H_ 35 #ifndef O3D_IMPORT_CROSS_MAIN_THREAD_ARCHIVE_CALLBACK_CLIENT_H_
36 #define O3D_IMPORT_CROSS_MAIN_THREAD_ARCHIVE_CALLBACK_CLIENT_H_ 36 #define O3D_IMPORT_CROSS_MAIN_THREAD_ARCHIVE_CALLBACK_CLIENT_H_
37 37
38 #include "base/basictypes.h" 38 #include "base/basictypes.h"
39 #include "base/thread.h" 39 #include "base/threading/thread.h"
40 #include "import/cross/archive_processor.h" 40 #include "import/cross/archive_processor.h"
41 #include "import/cross/memory_stream.h" 41 #include "import/cross/memory_stream.h"
42 42
43 namespace o3d { 43 namespace o3d {
44 44
45 class IMainThreadTaskPoster; 45 class IMainThreadTaskPoster;
46 class ServiceLocator; 46 class ServiceLocator;
47 47
48 class MainThreadArchiveCallbackClient : public ArchiveCallbackClient { 48 class MainThreadArchiveCallbackClient : public ArchiveCallbackClient {
49 public: 49 public:
(...skipping 26 matching lines...) Expand all
76 76
77 IMainThreadTaskPoster* main_thread_task_poster_; 77 IMainThreadTaskPoster* main_thread_task_poster_;
78 ArchiveCallbackClient* receiver_; 78 ArchiveCallbackClient* receiver_;
79 SuccessPtr success_; 79 SuccessPtr success_;
80 80
81 DISALLOW_COPY_AND_ASSIGN(MainThreadArchiveCallbackClient); 81 DISALLOW_COPY_AND_ASSIGN(MainThreadArchiveCallbackClient);
82 }; 82 };
83 } // namespace o3d 83 } // namespace o3d
84 84
85 #endif // O3D_IMPORT_CROSS_MAIN_THREAD_ARCHIVE_CALLBACK_CLIENT_H_ 85 #endif // O3D_IMPORT_CROSS_MAIN_THREAD_ARCHIVE_CALLBACK_CLIENT_H_
OLDNEW
« no previous file with comments | « net/url_request/url_request_unittest.h ('k') | o3d/import/cross/threaded_stream_processor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698