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

Side by Side Diff: src/debug.cc

Issue 115756: Split nested namespaces declaration in two lines in accordance with C++ Style Guide. (Closed)
Patch Set: Created 11 years, 7 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 // Copyright 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 26 matching lines...) Expand all
37 #include "execution.h" 37 #include "execution.h"
38 #include "global-handles.h" 38 #include "global-handles.h"
39 #include "ic.h" 39 #include "ic.h"
40 #include "ic-inl.h" 40 #include "ic-inl.h"
41 #include "natives.h" 41 #include "natives.h"
42 #include "stub-cache.h" 42 #include "stub-cache.h"
43 #include "log.h" 43 #include "log.h"
44 44
45 #include "../include/v8-debug.h" 45 #include "../include/v8-debug.h"
46 46
47 namespace v8 { namespace internal { 47 namespace v8 {
48 namespace internal {
48 49
49 #ifdef ENABLE_DEBUGGER_SUPPORT 50 #ifdef ENABLE_DEBUGGER_SUPPORT
50 static void PrintLn(v8::Local<v8::Value> value) { 51 static void PrintLn(v8::Local<v8::Value> value) {
51 v8::Local<v8::String> s = value->ToString(); 52 v8::Local<v8::String> s = value->ToString();
52 char* data = NewArray<char>(s->Length() + 1); 53 char* data = NewArray<char>(s->Length() + 1);
53 if (data == NULL) { 54 if (data == NULL) {
54 V8::FatalProcessOutOfMemory("PrintLn"); 55 V8::FatalProcessOutOfMemory("PrintLn");
55 return; 56 return;
56 } 57 }
57 s->WriteAscii(data); 58 s->WriteAscii(data);
(...skipping 2465 matching lines...) Expand 10 before | Expand all | Expand 10 after
2523 2524
2524 2525
2525 void LockingCommandMessageQueue::Clear() { 2526 void LockingCommandMessageQueue::Clear() {
2526 ScopedLock sl(lock_); 2527 ScopedLock sl(lock_);
2527 queue_.Clear(); 2528 queue_.Clear();
2528 } 2529 }
2529 2530
2530 #endif // ENABLE_DEBUGGER_SUPPORT 2531 #endif // ENABLE_DEBUGGER_SUPPORT
2531 2532
2532 } } // namespace v8::internal 2533 } } // namespace v8::internal
OLDNEW
« src/accessors.h ('K') | « src/debug.h ('k') | src/debug-agent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698