Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef ANDROID_WEBVIEW_BROWSER_COMPOSITOR_ID_H_ | |
| 6 #define ANDROID_WEBVIEW_BROWSER_COMPOSITOR_ID_H_ | |
| 7 | |
| 8 namespace android_webview { | |
| 9 | |
| 10 struct CompositorID { | |
| 11 CompositorID(); | |
| 12 CompositorID(int process_id, int routing_id); | |
| 13 CompositorID(const CompositorID& other); | |
| 14 | |
| 15 bool operator==(const CompositorID& other) const; | |
|
boliu
2016/06/10 15:40:33
for binary operators, I think general preference i
hush (inactive)
2016/06/10 23:28:44
Done.
| |
| 16 bool operator!=(const CompositorID& other) const; | |
| 17 bool operator<(const CompositorID& other) const; | |
| 18 bool operator>(const CompositorID& other) const; | |
| 19 | |
| 20 int process_id; | |
| 21 int routing_id; | |
| 22 }; | |
| 23 | |
| 24 } // namespace android_webview | |
| 25 | |
| 26 #endif // ANDROID_WEBVIEW_BROWSER_COMPOSITOR_ID_H_ | |
| OLD | NEW |