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

Side by Side Diff: Source/bindings/core/v8/V8PerIsolateData.h

Issue 724953002: Use Blink-style method casing for EndOfScopeTask::run() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/bindings/core/v8/V8PerIsolateData.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 class StringCache; 43 class StringCache;
44 struct WrapperTypeInfo; 44 struct WrapperTypeInfo;
45 45
46 typedef WTF::Vector<DOMDataStore*> DOMDataStoreList; 46 typedef WTF::Vector<DOMDataStore*> DOMDataStoreList;
47 47
48 class V8PerIsolateData { 48 class V8PerIsolateData {
49 public: 49 public:
50 class EndOfScopeTask { 50 class EndOfScopeTask {
51 public: 51 public:
52 virtual ~EndOfScopeTask() { } 52 virtual ~EndOfScopeTask() { }
53 virtual void Run() = 0; 53 virtual void run() = 0;
54 }; 54 };
55 55
56 static v8::Isolate* initialize(); 56 static v8::Isolate* initialize();
57 static V8PerIsolateData* from(v8::Isolate* isolate) 57 static V8PerIsolateData* from(v8::Isolate* isolate)
58 { 58 {
59 ASSERT(isolate); 59 ASSERT(isolate);
60 ASSERT(isolate->GetData(gin::kEmbedderBlink)); 60 ASSERT(isolate->GetData(gin::kEmbedderBlink));
61 return static_cast<V8PerIsolateData*>(isolate->GetData(gin::kEmbedderBli nk)); 61 return static_cast<V8PerIsolateData*>(isolate->GetData(gin::kEmbedderBli nk));
62 } 62 }
63 63
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 #endif 148 #endif
149 OwnPtr<GCEventData> m_gcEventData; 149 OwnPtr<GCEventData> m_gcEventData;
150 bool m_performingMicrotaskCheckpoint; 150 bool m_performingMicrotaskCheckpoint;
151 151
152 Vector<OwnPtr<EndOfScopeTask>> m_endOfScopeTasks; 152 Vector<OwnPtr<EndOfScopeTask>> m_endOfScopeTasks;
153 }; 153 };
154 154
155 } // namespace blink 155 } // namespace blink
156 156
157 #endif // V8PerIsolateData_h 157 #endif // V8PerIsolateData_h
OLDNEW
« no previous file with comments | « no previous file | Source/bindings/core/v8/V8PerIsolateData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698