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

Unified Diff: chrome/browser/extensions/extension_startup_browsertest.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/extensions/extension_startup_browsertest.cc
===================================================================
--- chrome/browser/extensions/extension_startup_browsertest.cc (revision 91968)
+++ chrome/browser/extensions/extension_startup_browsertest.cc (working copy)
@@ -12,13 +12,13 @@
#include "chrome/browser/extensions/user_script_master.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/browser.h"
+#include "chrome/common/chrome_notification_types.h"
#include "chrome/common/chrome_paths.h"
#include "chrome/common/chrome_switches.h"
#include "chrome/test/in_process_browser_test.h"
#include "chrome/test/ui_test_utils.h"
#include "content/browser/tab_contents/tab_contents.h"
#include "content/common/notification_details.h"
-#include "content/common/notification_type.h"
#include "net/base/net_util.h"
// This file contains high-level startup tests for the extensions system. We've
@@ -93,7 +93,7 @@
UserScriptMaster* master = browser()->profile()->GetUserScriptMaster();
if (!master->ScriptsReady()) {
ui_test_utils::WaitForNotification(
- NotificationType::USER_SCRIPTS_UPDATED);
+ chrome::NOTIFICATION_USER_SCRIPTS_UPDATED);
}
ASSERT_TRUE(master->ScriptsReady());
}
@@ -168,7 +168,7 @@
if (service->AllowFileAccess(service->extensions()->at(i))) {
service->SetAllowFileAccess(service->extensions()->at(i), false);
ui_test_utils::WaitForNotification(
- NotificationType::USER_SCRIPTS_UPDATED);
+ chrome::NOTIFICATION_USER_SCRIPTS_UPDATED);
}
}
« no previous file with comments | « chrome/browser/extensions/extension_service_unittest.cc ('k') | chrome/browser/extensions/extension_tab_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698