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

Unified Diff: sky/engine/core/inspector/ConsoleMessageStorage.h

Issue 922893002: Merge the Sky Engine changes from the SkyDart branch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/engine/core/inspector/ConsoleMessage.cpp ('k') | sky/engine/core/inspector/ConsoleMessageStorage.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/inspector/ConsoleMessageStorage.h
diff --git a/sky/engine/core/inspector/ConsoleMessageStorage.h b/sky/engine/core/inspector/ConsoleMessageStorage.h
deleted file mode 100644
index 291e77ef3d4d391c02aee5dbb174d7b2a1dd0b3a..0000000000000000000000000000000000000000
--- a/sky/engine/core/inspector/ConsoleMessageStorage.h
+++ /dev/null
@@ -1,52 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef SKY_ENGINE_CORE_INSPECTOR_CONSOLEMESSAGESTORAGE_H_
-#define SKY_ENGINE_CORE_INSPECTOR_CONSOLEMESSAGESTORAGE_H_
-
-#include "sky/engine/core/inspector/ConsoleMessage.h"
-#include "sky/engine/platform/heap/Handle.h"
-#include "sky/engine/wtf/Deque.h"
-#include "sky/engine/wtf/Forward.h"
-
-namespace blink {
-
-class LocalDOMWindow;
-
-class ConsoleMessageStorage final {
- WTF_MAKE_NONCOPYABLE(ConsoleMessageStorage);
- WTF_MAKE_FAST_ALLOCATED;
-public:
- static PassOwnPtr<ConsoleMessageStorage> createForFrame(LocalFrame* frame)
- {
- return adoptPtr(new ConsoleMessageStorage(frame));
- }
-
- void reportMessage(PassRefPtr<ConsoleMessage>);
- void clear();
-
- Vector<unsigned> argumentCounts() const;
-
- void frameWindowDiscarded(LocalDOMWindow*);
-
- size_t size() const;
- ConsoleMessage* at(size_t index) const;
-
- int expiredCount() const;
-
-private:
- explicit ConsoleMessageStorage(ExecutionContext*);
- explicit ConsoleMessageStorage(LocalFrame*);
-
- ExecutionContext* executionContext() const;
-
- int m_expiredCount;
- Deque<RefPtr<ConsoleMessage> > m_messages;
- RawPtr<ExecutionContext> m_context;
- LocalFrame* m_frame;
-};
-
-} // namespace blink
-
-#endif // SKY_ENGINE_CORE_INSPECTOR_CONSOLEMESSAGESTORAGE_H_
« no previous file with comments | « sky/engine/core/inspector/ConsoleMessage.cpp ('k') | sky/engine/core/inspector/ConsoleMessageStorage.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698