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

Side by Side Diff: runtime/bin/eventhandler.h

Issue 2750843003: Rename TARGET_OS_* to HOST_OS_*. (Closed)
Patch Set: DEPS Created 3 years, 9 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
« no previous file with comments | « runtime/bin/directory_win.cc ('k') | runtime/bin/eventhandler_android.cc » ('j') | 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 Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #ifndef RUNTIME_BIN_EVENTHANDLER_H_ 5 #ifndef RUNTIME_BIN_EVENTHANDLER_H_
6 #define RUNTIME_BIN_EVENTHANDLER_H_ 6 #define RUNTIME_BIN_EVENTHANDLER_H_
7 7
8 #include "bin/builtin.h" 8 #include "bin/builtin.h"
9 #include "bin/dartutils.h" 9 #include "bin/dartutils.h"
10 #include "bin/isolate_data.h" 10 #include "bin/isolate_data.h"
(...skipping 587 matching lines...) Expand 10 before | Expand all | Expand 10 after
598 598
599 bool disable_tokens_; 599 bool disable_tokens_;
600 600
601 DISALLOW_COPY_AND_ASSIGN(DescriptorInfoMultipleMixin); 601 DISALLOW_COPY_AND_ASSIGN(DescriptorInfoMultipleMixin);
602 }; 602 };
603 603
604 } // namespace bin 604 } // namespace bin
605 } // namespace dart 605 } // namespace dart
606 606
607 // The event handler delegation class is OS specific. 607 // The event handler delegation class is OS specific.
608 #if defined(TARGET_OS_ANDROID) 608 #if defined(HOST_OS_ANDROID)
609 #include "bin/eventhandler_android.h" 609 #include "bin/eventhandler_android.h"
610 #elif defined(TARGET_OS_FUCHSIA) 610 #elif defined(HOST_OS_FUCHSIA)
611 #include "bin/eventhandler_fuchsia.h" 611 #include "bin/eventhandler_fuchsia.h"
612 #elif defined(TARGET_OS_LINUX) 612 #elif defined(HOST_OS_LINUX)
613 #include "bin/eventhandler_linux.h" 613 #include "bin/eventhandler_linux.h"
614 #elif defined(TARGET_OS_MACOS) 614 #elif defined(HOST_OS_MACOS)
615 #include "bin/eventhandler_macos.h" 615 #include "bin/eventhandler_macos.h"
616 #elif defined(TARGET_OS_WINDOWS) 616 #elif defined(HOST_OS_WINDOWS)
617 #include "bin/eventhandler_win.h" 617 #include "bin/eventhandler_win.h"
618 #else 618 #else
619 #error Unknown target os. 619 #error Unknown target os.
620 #endif 620 #endif
621 621
622 namespace dart { 622 namespace dart {
623 namespace bin { 623 namespace bin {
624 624
625 class EventHandler { 625 class EventHandler {
626 public: 626 public:
(...skipping 24 matching lines...) Expand all
651 friend class EventHandlerImplementation; 651 friend class EventHandlerImplementation;
652 EventHandlerImplementation delegate_; 652 EventHandlerImplementation delegate_;
653 653
654 DISALLOW_COPY_AND_ASSIGN(EventHandler); 654 DISALLOW_COPY_AND_ASSIGN(EventHandler);
655 }; 655 };
656 656
657 } // namespace bin 657 } // namespace bin
658 } // namespace dart 658 } // namespace dart
659 659
660 #endif // RUNTIME_BIN_EVENTHANDLER_H_ 660 #endif // RUNTIME_BIN_EVENTHANDLER_H_
OLDNEW
« no previous file with comments | « runtime/bin/directory_win.cc ('k') | runtime/bin/eventhandler_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698