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

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

Issue 10598003: Cleanup: DeleteTask() no longer exists. Update BrowserThread comments and remove reliability suppre… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 6 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 | « chrome/test/data/reliability/known_crashes.txt ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 <string> 9 #include <string>
10 10
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 }; 264 };
265 265
266 // Sample usage: 266 // Sample usage:
267 // class Foo 267 // class Foo
268 // : public base::RefCountedThreadSafe< 268 // : public base::RefCountedThreadSafe<
269 // Foo, BrowserThread::DeleteOnIOThread> { 269 // Foo, BrowserThread::DeleteOnIOThread> {
270 // 270 //
271 // ... 271 // ...
272 // private: 272 // private:
273 // friend struct BrowserThread::DeleteOnThread<BrowserThread::IO>; 273 // friend struct BrowserThread::DeleteOnThread<BrowserThread::IO>;
274 // friend class DeleteTask<Foo>; 274 // friend class base::DeleteHelper<Foo>;
275 // 275 //
276 // ~Foo(); 276 // ~Foo();
277 struct DeleteOnUIThread : public DeleteOnThread<UI> { }; 277 struct DeleteOnUIThread : public DeleteOnThread<UI> { };
278 struct DeleteOnIOThread : public DeleteOnThread<IO> { }; 278 struct DeleteOnIOThread : public DeleteOnThread<IO> { };
279 struct DeleteOnFileThread : public DeleteOnThread<FILE> { }; 279 struct DeleteOnFileThread : public DeleteOnThread<FILE> { };
280 struct DeleteOnDBThread : public DeleteOnThread<DB> { }; 280 struct DeleteOnDBThread : public DeleteOnThread<DB> { };
281 struct DeleteOnWebKitThread : public DeleteOnThread<WEBKIT_DEPRECATED> { }; 281 struct DeleteOnWebKitThread : public DeleteOnThread<WEBKIT_DEPRECATED> { };
282 282
283 private: 283 private:
284 friend class BrowserThreadImpl; 284 friend class BrowserThreadImpl;
285 285
286 BrowserThread() {} 286 BrowserThread() {}
287 DISALLOW_COPY_AND_ASSIGN(BrowserThread); 287 DISALLOW_COPY_AND_ASSIGN(BrowserThread);
288 }; 288 };
289 289
290 } // namespace content 290 } // namespace content
291 291
292 #endif // CONTENT_PUBLIC_BROWSER_BROWSER_THREAD_H_ 292 #endif // CONTENT_PUBLIC_BROWSER_BROWSER_THREAD_H_
OLDNEW
« no previous file with comments | « chrome/test/data/reliability/known_crashes.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698