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

Unified Diff: chrome/browser/chromeos/cros/login_library.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/browser/chromeos/boot_times_loader.cc ('k') | chrome/browser/chromeos/cros_settings.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/cros/login_library.cc
===================================================================
--- chrome/browser/chromeos/cros/login_library.cc (revision 91971)
+++ chrome/browser/chromeos/cros/login_library.cc (working copy)
@@ -13,9 +13,9 @@
#include "chrome/browser/chromeos/login/signed_settings_temp_storage.h"
#include "chrome/browser/policy/proto/device_management_backend.pb.h"
#include "chrome/browser/prefs/pref_service.h"
+#include "chrome/common/chrome_notification_types.h"
#include "content/browser/browser_thread.h"
#include "content/common/notification_service.h"
-#include "content/common/notification_type.h"
namespace em = enterprise_management;
namespace chromeos {
@@ -171,10 +171,10 @@
void CompleteSetOwnerKey(bool value) {
VLOG(1) << "Owner key generation: " << (value ? "success" : "fail");
- NotificationType result =
- NotificationType::OWNER_KEY_FETCH_ATTEMPT_SUCCEEDED;
+ int result =
+ chrome::NOTIFICATION_OWNER_KEY_FETCH_ATTEMPT_SUCCEEDED;
if (!value)
- result = NotificationType::OWNER_KEY_FETCH_ATTEMPT_FAILED;
+ result = chrome::NOTIFICATION_OWNER_KEY_FETCH_ATTEMPT_FAILED;
// Whether we exported the public key or not, send a notification indicating
// that we're done with this attempt.
« no previous file with comments | « chrome/browser/chromeos/boot_times_loader.cc ('k') | chrome/browser/chromeos/cros_settings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698