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

Side by Side Diff: src/liveedit.cc

Issue 626002: Fix lint errors (Closed)
Patch Set: Created 10 years, 10 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 | « src/liveedit.h ('k') | 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 // Copyright 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 class FunctionInfoListener { 42 class FunctionInfoListener {
43 public: 43 public:
44 void FunctionStarted(FunctionLiteral* fun) { 44 void FunctionStarted(FunctionLiteral* fun) {
45 // Implementation follows. 45 // Implementation follows.
46 } 46 }
47 47
48 void FunctionDone() { 48 void FunctionDone() {
49 // Implementation follows. 49 // Implementation follows.
50 } 50 }
51 51
52 void FunctionScope(Scope* scope){ 52 void FunctionScope(Scope* scope) {
53 // Implementation follows. 53 // Implementation follows.
54 } 54 }
55 55
56 void FunctionCode(Handle<Code> function_code) { 56 void FunctionCode(Handle<Code> function_code) {
57 // Implementation follows. 57 // Implementation follows.
58 } 58 }
59 }; 59 };
60 60
61 static FunctionInfoListener* active_function_info_listener = NULL; 61 static FunctionInfoListener* active_function_info_listener = NULL;
62 62
(...skipping 15 matching lines...) Expand all
78 void LiveEditFunctionTracker::RecordFunctionScope(Scope* scope) { 78 void LiveEditFunctionTracker::RecordFunctionScope(Scope* scope) {
79 if (active_function_info_listener != NULL) { 79 if (active_function_info_listener != NULL) {
80 active_function_info_listener->FunctionScope(scope); 80 active_function_info_listener->FunctionScope(scope);
81 } 81 }
82 } 82 }
83 bool LiveEditFunctionTracker::IsActive() { 83 bool LiveEditFunctionTracker::IsActive() {
84 return active_function_info_listener != NULL; 84 return active_function_info_listener != NULL;
85 } 85 }
86 86
87 } } // namespace v8::internal 87 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/liveedit.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698