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

Unified Diff: ios/chrome/browser/ui/show_privacy_settings_util.mm

Issue 1124173004: [iOS] Upstream //ios/chrome/browser/ui/commands changes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compilation Created 5 years, 7 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 | « ios/chrome/browser/ui/commands/show_signin_command.mm ('k') | ios/chrome/ios_chrome.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/ui/show_privacy_settings_util.mm
diff --git a/ios/chrome/browser/ui/show_privacy_settings_util.mm b/ios/chrome/browser/ui/show_privacy_settings_util.mm
index 2d83683e403adff9a17735e5b3af5eed19e32599..12e878cda25250ff8d7a72bbfd2f6ccfe37fa8e1 100644
--- a/ios/chrome/browser/ui/show_privacy_settings_util.mm
+++ b/ios/chrome/browser/ui/show_privacy_settings_util.mm
@@ -2,17 +2,16 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "ios/chrome/browser/ui/show_privacy_settings_util.h"
+#import "ios/chrome/browser/ui/show_privacy_settings_util.h"
-#include "base/mac/scoped_nsobject.h"
-#include "ios/chrome/browser/ui/commands/UIKit+ChromeExecuteCommand.h"
+#import "base/mac/scoped_nsobject.h"
+#import "ios/chrome/browser/ui/commands/UIKit+ChromeExecuteCommand.h"
#import "ios/chrome/browser/ui/commands/generic_chrome_command.h"
#include "ios/chrome/browser/ui/commands/ios_command_ids.h"
void ShowClearBrowsingData() {
base::scoped_nsobject<GenericChromeCommand> command(
- [[GenericChromeCommand alloc] init]);
- [command setTag:IDC_SHOW_PRIVACY_SETTINGS];
+ [[GenericChromeCommand alloc] initWithTag:IDC_SHOW_PRIVACY_SETTINGS]);
UIWindow* main_window = [[UIApplication sharedApplication] keyWindow];
[main_window chromeExecuteCommand:command];
}
« no previous file with comments | « ios/chrome/browser/ui/commands/show_signin_command.mm ('k') | ios/chrome/ios_chrome.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698