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

Unified Diff: chrome/test/bookmark_load_observer.h

Issue 6523032: Even more test cleanup. Some fixes to non-test code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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
Index: chrome/test/bookmark_load_observer.h
diff --git a/chrome/test/bookmark_load_observer.h b/chrome/test/bookmark_load_observer.h
index cf3de21b49224c392bfb48780cb9f82e1fdfbb22..0d08410ae935a19cc319469b058758b890e9529e 100644
--- a/chrome/test/bookmark_load_observer.h
+++ b/chrome/test/bookmark_load_observer.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 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.
@@ -6,7 +6,6 @@
#define CHROME_TEST_BOOKMARK_LOAD_OBSERVER_H_
#pragma once
-#include "base/message_loop.h"
#include "chrome/browser/bookmarks/bookmark_model.h"
// BookmarkLoadObserver is used when blocking until the BookmarkModel
@@ -14,10 +13,9 @@
// loop is quit.
class BookmarkLoadObserver : public BookmarkModelObserver {
public:
- BookmarkLoadObserver() {}
- virtual void Loaded(BookmarkModel* model) {
- MessageLoop::current()->Quit();
- }
+ BookmarkLoadObserver();
+ virtual ~BookmarkLoadObserver();
+ virtual void Loaded(BookmarkModel* model);
virtual void BookmarkNodeMoved(BookmarkModel* model,
const BookmarkNode* old_parent,

Powered by Google App Engine
This is Rietveld 408576698