summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/importer_view.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/views/importer_view.cc')
-rw-r--r--chrome/browser/views/importer_view.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/views/importer_view.cc b/chrome/browser/views/importer_view.cc
index c3dbbf0..46f3576 100644
--- a/chrome/browser/views/importer_view.cc
+++ b/chrome/browser/views/importer_view.cc
@@ -99,8 +99,8 @@ void ImporterView::Layout() {
}
std::wstring ImporterView::GetDialogButtonLabel(
- DialogButton button) const {
- if (button == DIALOGBUTTON_OK) {
+ MessageBox::DialogButton button) const {
+ if (button == MessageBox::DIALOGBUTTON_OK) {
return l10n_util::GetString(IDS_IMPORT_COMMIT);
} else {
return std::wstring();
@@ -116,7 +116,7 @@ std::wstring ImporterView::GetWindowTitle() const {
}
bool ImporterView::Accept() {
- if (!IsDialogButtonEnabled(DIALOGBUTTON_OK)) {
+ if (!IsDialogButtonEnabled(MessageBox::DIALOGBUTTON_OK)) {
return false;
}