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

Side by Side Diff: third_party/WebKit/public/platform/WebThread.h

Issue 2137013002: Make WebTraceLocation be an alias of tracked_objects::Location (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 5 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 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 13 matching lines...) Expand all
24 */ 24 */
25 #ifndef WebThread_h 25 #ifndef WebThread_h
26 #define WebThread_h 26 #define WebThread_h
27 27
28 #include "WebCommon.h" 28 #include "WebCommon.h"
29 #include <stdint.h> 29 #include <stdint.h>
30 30
31 namespace blink { 31 namespace blink {
32 class WebScheduler; 32 class WebScheduler;
33 class WebTaskRunner; 33 class WebTaskRunner;
34 class WebTraceLocation;
35 34
36 // Always an integer value. 35 // Always an integer value.
37 typedef uintptr_t PlatformThreadId; 36 typedef uintptr_t PlatformThreadId;
38 37
39 // Provides an interface to an embedder-defined thread implementation. 38 // Provides an interface to an embedder-defined thread implementation.
40 // 39 //
41 // Deleting the thread blocks until all pending, non-delayed tasks have been 40 // Deleting the thread blocks until all pending, non-delayed tasks have been
42 // run. 41 // run.
43 class BLINK_PLATFORM_EXPORT WebThread { 42 class BLINK_PLATFORM_EXPORT WebThread {
44 public: 43 public:
(...skipping 24 matching lines...) Expand all
69 68
70 // Returns the scheduler associated with the thread. 69 // Returns the scheduler associated with the thread.
71 virtual WebScheduler* scheduler() const = 0; 70 virtual WebScheduler* scheduler() const = 0;
72 71
73 virtual ~WebThread() { } 72 virtual ~WebThread() { }
74 }; 73 };
75 74
76 } // namespace blink 75 } // namespace blink
77 76
78 #endif 77 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/public/platform/WebTaskRunner.h ('k') | third_party/WebKit/public/platform/WebTraceLocation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698