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

Unified Diff: chrome/browser/search_engines/search_provider_install_data_unittest.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
Index: chrome/browser/search_engines/search_provider_install_data_unittest.cc
===================================================================
--- chrome/browser/search_engines/search_provider_install_data_unittest.cc (revision 91968)
+++ chrome/browser/search_engines/search_provider_install_data_unittest.cc (working copy)
@@ -13,13 +13,13 @@
#include "chrome/browser/search_engines/template_url.h"
#include "chrome/browser/search_engines/template_url_service.h"
#include "chrome/browser/search_engines/template_url_service_test_util.h"
+#include "chrome/common/chrome_notification_types.h"
#include "chrome/common/pref_names.h"
#include "chrome/test/testing_pref_service.h"
#include "chrome/test/testing_profile.h"
#include "content/browser/browser_thread.h"
#include "content/common/notification_service.h"
#include "content/common/notification_source.h"
-#include "content/common/notification_type.h"
#include "testing/gtest/include/gtest/gtest.h"
// Create a TemplateURL. The caller owns the returned TemplateURL*.
@@ -167,7 +167,7 @@
util_.StartIOThread();
install_data_ = new SearchProviderInstallData(
util_.GetWebDataService(),
- NotificationType::RENDERER_PROCESS_TERMINATED,
+ content::NOTIFICATION_RENDERER_PROCESS_TERMINATED,
Source<SearchProviderInstallDataTest>(this));
}
@@ -180,7 +180,7 @@
// Make sure that the install data class on the UI thread gets cleaned up.
// It doesn't matter that this happens after install_data_ is deleted.
NotificationService::current()->Notify(
- NotificationType::RENDERER_PROCESS_TERMINATED,
+ content::NOTIFICATION_RENDERER_PROCESS_TERMINATED,
Source<SearchProviderInstallDataTest>(this),
NotificationService::NoDetails());
@@ -206,7 +206,7 @@
service->SetManagedPref(
prefs::kDefaultSearchProviderPrepopulateID, new StringValue(""));
util_.model()->Observe(
- NotificationType::PREF_CHANGED,
+ chrome::NOTIFICATION_PREF_CHANGED,
Source<PrefService>(util_.profile()->GetTestingPrefService()),
Details<std::string>(NULL));
}

Powered by Google App Engine
This is Rietveld 408576698