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

Side by Side Diff: content/public/browser/browser_thread.h

Issue 8341129: browser-thread related exports (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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 | « content/browser/browser_thread_impl.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 CONTENT_PUBLIC_BROWSER_BROWSER_THREAD_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_BROWSER_THREAD_H_
6 #define CONTENT_PUBLIC_BROWSER_BROWSER_THREAD_H_ 6 #define CONTENT_PUBLIC_BROWSER_BROWSER_THREAD_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/synchronization/lock.h" 10 #include "base/synchronization/lock.h"
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 235
236 // The identifier of this thread. Only one thread can exist with a given 236 // The identifier of this thread. Only one thread can exist with a given
237 // identifier at a given time. 237 // identifier at a given time.
238 // TODO(joi): Move to BrowserThreadImpl, and make constructors here 238 // TODO(joi): Move to BrowserThreadImpl, and make constructors here
239 // do-nothing. 239 // do-nothing.
240 ID identifier_; 240 ID identifier_;
241 }; 241 };
242 242
243 // Temporary escape hatch for chrome/ to construct BrowserThread, 243 // Temporary escape hatch for chrome/ to construct BrowserThread,
244 // until we make content/ construct its own threads. 244 // until we make content/ construct its own threads.
245 class DeprecatedBrowserThread : public BrowserThread { 245 class CONTENT_EXPORT DeprecatedBrowserThread : public BrowserThread {
246 public: 246 public:
247 explicit DeprecatedBrowserThread(BrowserThread::ID identifier); 247 explicit DeprecatedBrowserThread(BrowserThread::ID identifier);
248 DeprecatedBrowserThread(BrowserThread::ID identifier, 248 DeprecatedBrowserThread(BrowserThread::ID identifier,
249 MessageLoop* message_loop); 249 MessageLoop* message_loop);
250 virtual ~DeprecatedBrowserThread(); 250 virtual ~DeprecatedBrowserThread();
251 }; 251 };
252 252
253 #endif // CONTENT_PUBLIC_BROWSER_BROWSER_THREAD_H_ 253 #endif // CONTENT_PUBLIC_BROWSER_BROWSER_THREAD_H_
OLDNEW
« no previous file with comments | « content/browser/browser_thread_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698