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

Side by Side Diff: third_party/WebKit/Source/core/inspector/CodeGeneratorInstrumentation.py

Issue 2003033002: Revert InstrumentingAgents back to being GarbageCollected<>. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « no previous file | 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 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright (c) 2013 Google Inc. All rights reserved. 2 # Copyright (c) 2013 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 are 5 # modification, are permitted provided that the following conditions are
6 # met: 6 # met:
7 # 7 #
8 # * Redistributions of source code must retain the above copyright 8 # * 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 # * Redistributions in binary form must reproduce the above 10 # * Redistributions in binary form must reproduce the above
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 #include "core/CoreExport.h" 90 #include "core/CoreExport.h"
91 #include "platform/heap/Handle.h" 91 #include "platform/heap/Handle.h"
92 #include "wtf/Allocator.h" 92 #include "wtf/Allocator.h"
93 #include "wtf/Noncopyable.h" 93 #include "wtf/Noncopyable.h"
94 #include "wtf/PassRefPtr.h" 94 #include "wtf/PassRefPtr.h"
95 95
96 namespace blink { 96 namespace blink {
97 97
98 ${forward_list} 98 ${forward_list}
99 99
100 class CORE_EXPORT InstrumentingAgents : public GarbageCollectedFinalized<Instrum entingAgents> { 100 class CORE_EXPORT InstrumentingAgents : public GarbageCollected<InstrumentingAge nts> {
101 WTF_MAKE_NONCOPYABLE(InstrumentingAgents); 101 WTF_MAKE_NONCOPYABLE(InstrumentingAgents);
102 public: 102 public:
103 InstrumentingAgents(); 103 InstrumentingAgents();
104 ~InstrumentingAgents() { }
105 DECLARE_TRACE(); 104 DECLARE_TRACE();
106 ${accessor_list} 105 ${accessor_list}
107 106
108 private: 107 private:
109 ${member_list} 108 ${member_list}
110 }; 109 };
111 110
112 } 111 }
113 112
114 #endif // !defined(InstrumentingAgents_h) 113 #endif // !defined(InstrumentingAgents_h)
(...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after
467 if not output_dirpath: 466 if not output_dirpath:
468 raise Exception("Output directory must be specified") 467 raise Exception("Output directory must be specified")
469 except Exception: 468 except Exception:
470 # Work with python 2 and 3 http://docs.python.org/py3k/howto/pyporting.html 469 # Work with python 2 and 3 http://docs.python.org/py3k/howto/pyporting.html
471 exc = sys.exc_info()[1] 470 exc = sys.exc_info()[1]
472 sys.stderr.write("Failed to parse command-line arguments: %s\n\n" % exc) 471 sys.stderr.write("Failed to parse command-line arguments: %s\n\n" % exc)
473 sys.stderr.write("Usage: <script> --output_dir <output_dir> InspectorInstrum entation.idl\n") 472 sys.stderr.write("Usage: <script> --output_dir <output_dir> InspectorInstrum entation.idl\n")
474 exit(1) 473 exit(1)
475 474
476 generate(input_path, output_dirpath) 475 generate(input_path, output_dirpath)
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698