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

Side by Side Diff: src/v8.h

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
« src/accessors.h ('K') | « src/utils.cc ('k') | src/v8.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 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 66
67 // Objects & heap 67 // Objects & heap
68 #include "objects.h" 68 #include "objects.h"
69 #include "spaces.h" 69 #include "spaces.h"
70 #include "heap.h" 70 #include "heap.h"
71 #include "objects-inl.h" 71 #include "objects-inl.h"
72 #include "spaces-inl.h" 72 #include "spaces-inl.h"
73 #include "heap-inl.h" 73 #include "heap-inl.h"
74 #include "messages.h" 74 #include "messages.h"
75 75
76 namespace v8 { namespace internal { 76 namespace v8 {
77 namespace internal {
77 78
78 class V8 : public AllStatic { 79 class V8 : public AllStatic {
79 public: 80 public:
80 // Global actions. 81 // Global actions.
81 82
82 // If Initialize is called with des == NULL, the 83 // If Initialize is called with des == NULL, the
83 // initial state is created from scratch. If a non-null Deserializer 84 // initial state is created from scratch. If a non-null Deserializer
84 // is given, the initial state is created by reading the 85 // is given, the initial state is created by reading the
85 // deserialized data into an empty heap. 86 // deserialized data into an empty heap.
86 static bool Initialize(Deserializer* des); 87 static bool Initialize(Deserializer* des);
87 static void TearDown(); 88 static void TearDown();
88 static bool HasBeenSetup() { return has_been_setup_; } 89 static bool HasBeenSetup() { return has_been_setup_; }
89 static bool HasBeenDisposed() { return has_been_disposed_; } 90 static bool HasBeenDisposed() { return has_been_disposed_; }
90 91
91 // Report process out of memory. Implementation found in api.cc. 92 // Report process out of memory. Implementation found in api.cc.
92 static void FatalProcessOutOfMemory(const char* location); 93 static void FatalProcessOutOfMemory(const char* location);
93 private: 94 private:
94 static bool has_been_setup_; 95 static bool has_been_setup_;
95 static bool has_been_disposed_; 96 static bool has_been_disposed_;
96 }; 97 };
97 98
98 } } // namespace v8::internal 99 } } // namespace v8::internal
99 100
100 namespace i = v8::internal; 101 namespace i = v8::internal;
101 102
102 #endif // V8_V8_H_ 103 #endif // V8_V8_H_
OLDNEW
« src/accessors.h ('K') | « src/utils.cc ('k') | src/v8.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698