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

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

Issue 2218933003: Revert of Make WebTraceLocation be an alias of tracked_objects::Location (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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;
34 35
35 // Always an integer value. 36 // Always an integer value.
36 typedef uintptr_t PlatformThreadId; 37 typedef uintptr_t PlatformThreadId;
37 38
38 // Provides an interface to an embedder-defined thread implementation. 39 // Provides an interface to an embedder-defined thread implementation.
39 // 40 //
40 // Deleting the thread blocks until all pending, non-delayed tasks have been 41 // Deleting the thread blocks until all pending, non-delayed tasks have been
41 // run. 42 // run.
42 class BLINK_PLATFORM_EXPORT WebThread { 43 class BLINK_PLATFORM_EXPORT WebThread {
43 public: 44 public:
(...skipping 24 matching lines...) Expand all
68 69
69 // Returns the scheduler associated with the thread. 70 // Returns the scheduler associated with the thread.
70 virtual WebScheduler* scheduler() const = 0; 71 virtual WebScheduler* scheduler() const = 0;
71 72
72 virtual ~WebThread() { } 73 virtual ~WebThread() { }
73 }; 74 };
74 75
75 } // namespace blink 76 } // namespace blink
76 77
77 #endif 78 #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