Index: chrome/browser/chromeos/cros/login_library.cc |
=================================================================== |
--- chrome/browser/chromeos/cros/login_library.cc (revision 91880) |
+++ chrome/browser/chromeos/cros/login_library.cc (working copy) |
@@ -14,8 +14,8 @@ |
#include "chrome/browser/policy/proto/device_management_backend.pb.h" |
#include "chrome/browser/prefs/pref_service.h" |
#include "content/browser/browser_thread.h" |
+#include "content/common/content_notification_types.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::OWNER_KEY_FETCH_ATTEMPT_SUCCEEDED; |
if (!value) |
- result = NotificationType::OWNER_KEY_FETCH_ATTEMPT_FAILED; |
+ result = chrome::OWNER_KEY_FETCH_ATTEMPT_FAILED; |
// Whether we exported the public key or not, send a notification indicating |
// that we're done with this attempt. |