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

Unified Diff: components/bubble/bubble_delegate.cc

Issue 1251633002: Add BubbleManager to manage bubbles and ChromeBubbleManager for events. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Apply Feedback Created 5 years, 4 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
Index: components/bubble/bubble_delegate.cc
diff --git a/base/test/malloc_wrapper.cc b/components/bubble/bubble_delegate.cc
similarity index 53%
copy from base/test/malloc_wrapper.cc
copy to components/bubble/bubble_delegate.cc
index eb280a3eeea52f49e534c7c5e3f6f7a40e80a750..24df98a803526862077c5b8ea659eea0771113b2 100644
--- a/base/test/malloc_wrapper.cc
+++ b/components/bubble/bubble_delegate.cc
@@ -2,10 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "malloc_wrapper.h"
+#include "components/bubble/bubble_delegate.h"
-#include <stdlib.h>
+BubbleDelegate::BubbleDelegate() : weak_ptr_factory(this) {}
-void* MallocWrapper(size_t size) {
- return malloc(size);
-}
+BubbleDelegate::~BubbleDelegate() {}

Powered by Google App Engine
This is Rietveld 408576698