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

Unified Diff: chrome/test/testing_profile.cc

Issue 7327007: Moving notification types which are chrome specific to a new header file chrome_notification_type... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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 | « chrome/test/test_tab_strip_model_observer.cc ('k') | chrome/test/ui_test_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/testing_profile.cc
===================================================================
--- chrome/test/testing_profile.cc (revision 91968)
+++ chrome/test/testing_profile.cc (working copy)
@@ -44,6 +44,7 @@
#include "chrome/browser/ui/find_bar/find_bar_state.h"
#include "chrome/browser/ui/webui/chrome_url_data_manager.h"
#include "chrome/common/chrome_constants.h"
+#include "chrome/common/chrome_notification_types.h"
#include "chrome/common/url_constants.h"
#include "chrome/test/bookmark_load_observer.h"
#include "chrome/test/test_url_request_context_getter.h"
@@ -168,7 +169,7 @@
TestingProfile::~TestingProfile() {
NotificationService::current()->Notify(
- NotificationType::PROFILE_DESTROYED,
+ chrome::NOTIFICATION_PROFILE_DESTROYED,
Source<Profile>(static_cast<Profile*>(this)),
NotificationService::NoDetails());
@@ -306,7 +307,7 @@
void TestingProfile::BlockUntilTopSitesLoaded() {
if (!GetHistoryService(Profile::EXPLICIT_ACCESS))
GetTopSites()->HistoryLoaded();
- ui_test_utils::WaitForNotification(NotificationType::TOP_SITES_LOADED);
+ ui_test_utils::WaitForNotification(chrome::NOTIFICATION_TOP_SITES_LOADED);
}
void TestingProfile::CreateTemplateURLFetcher() {
« no previous file with comments | « chrome/test/test_tab_strip_model_observer.cc ('k') | chrome/test/ui_test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698