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

Side by Side Diff: chrome/browser/ui/profile_error_dialog.cc

Issue 11418005: Get a minimal unit_tests target building and running for iOS (Closed) Base URL: http://git.chromium.org/chromium/src.git@chrome-gyp-ios-support
Patch Set: Better ifdefing in chrome_paths Created 8 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « build/all.gyp ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/ui/profile_error_dialog.h" 5 #include "chrome/browser/ui/profile_error_dialog.h"
6 6
7 #include "chrome/browser/ui/simple_message_box.h" 7 #include "chrome/browser/ui/simple_message_box.h"
8 #include "grit/chromium_strings.h" 8 #include "grit/chromium_strings.h"
9 #include "grit/generated_resources.h" 9 #include "grit/generated_resources.h"
10 #include "ui/base/l10n/l10n_util.h" 10 #include "ui/base/l10n/l10n_util.h"
11 11
12 void ShowProfileErrorDialog(int message_id) { 12 void ShowProfileErrorDialog(int message_id) {
13 #if defined(OS_ANDROID) 13 #if defined(OS_ANDROID) || defined(OS_IOS)
14 NOTIMPLEMENTED(); 14 NOTIMPLEMENTED();
15 #else 15 #else
16 chrome::ShowMessageBox(NULL, 16 chrome::ShowMessageBox(NULL,
17 l10n_util::GetStringUTF16(IDS_PRODUCT_NAME), 17 l10n_util::GetStringUTF16(IDS_PRODUCT_NAME),
18 l10n_util::GetStringUTF16(message_id), 18 l10n_util::GetStringUTF16(message_id),
19 chrome::MESSAGE_BOX_TYPE_WARNING); 19 chrome::MESSAGE_BOX_TYPE_WARNING);
20 #endif 20 #endif
21 } 21 }
OLDNEW
« no previous file with comments | « build/all.gyp ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698