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

Side by Side Diff: chrome/browser/mac/dock.mm

Issue 1133713009: Subject .mm files to the header sorting presubmit (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase - of course... it would be one of my patches I conflict with :| 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 unified diff | Download patch
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 #import "chrome/browser/mac/dock.h" 5 #import "chrome/browser/mac/dock.h"
6 6
7 #include <ApplicationServices/ApplicationServices.h> 7 #include <ApplicationServices/ApplicationServices.h>
8 #include <CoreFoundation/CoreFoundation.h>
8 #import <Foundation/Foundation.h> 9 #import <Foundation/Foundation.h>
9 #include <CoreFoundation/CoreFoundation.h>
10 #include <signal.h> 10 #include <signal.h>
11 11
12 #include "base/logging.h" 12 #include "base/logging.h"
13 #include "base/mac/foundation_util.h" 13 #include "base/mac/foundation_util.h"
14 #include "base/mac/launchd.h" 14 #include "base/mac/launchd.h"
15 #include "base/mac/mac_logging.h" 15 #include "base/mac/mac_logging.h"
16 #include "base/mac/scoped_cftyperef.h" 16 #include "base/mac/scoped_cftyperef.h"
17 #include "base/mac/scoped_nsautorelease_pool.h" 17 #include "base/mac/scoped_nsautorelease_pool.h"
18 #include "base/strings/sys_string_conversions.h" 18 #include "base/strings/sys_string_conversions.h"
19 19
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 330
331 // Rewrite the plist. 331 // Rewrite the plist.
332 [dock_plist setObject:persistent_apps forKey:kDockPersistentAppsKey]; 332 [dock_plist setObject:persistent_apps forKey:kDockPersistentAppsKey];
333 [user_defaults setPersistentDomain:dock_plist forName:kDockDomain]; 333 [user_defaults setPersistentDomain:dock_plist forName:kDockDomain];
334 334
335 Restart(); 335 Restart();
336 return IconAddSuccess; 336 return IconAddSuccess;
337 } 337 }
338 338
339 } // namespace dock 339 } // namespace dock
OLDNEW
« no previous file with comments | « chrome/browser/local_discovery/service_discovery_client_mac_unittest.mm ('k') | chrome/browser/platform_util_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698