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

Side by Side Diff: chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm

Issue 2299993004: Migrate chrome/browser files to histogram_macros.h includes. (Closed)
Patch Set: Created 4 years, 3 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/ui/cocoa/bookmarks/bookmark_bar_controller.h" 5 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #import "base/mac/bundle_locations.h" 9 #import "base/mac/bundle_locations.h"
10 #import "base/mac/foundation_util.h" 10 #import "base/mac/foundation_util.h"
11 #include "base/mac/mac_util.h" 11 #include "base/mac/mac_util.h"
12 #import "base/mac/sdk_forward_declarations.h" 12 #import "base/mac/sdk_forward_declarations.h"
13 #include "base/metrics/histogram.h" 13 #include "base/metrics/histogram_macros.h"
14 #include "base/strings/sys_string_conversions.h" 14 #include "base/strings/sys_string_conversions.h"
15 #include "chrome/browser/bookmarks/bookmark_model_factory.h" 15 #include "chrome/browser/bookmarks/bookmark_model_factory.h"
16 #include "chrome/browser/bookmarks/bookmark_stats.h" 16 #include "chrome/browser/bookmarks/bookmark_stats.h"
17 #include "chrome/browser/bookmarks/managed_bookmark_service_factory.h" 17 #include "chrome/browser/bookmarks/managed_bookmark_service_factory.h"
18 #include "chrome/browser/prefs/incognito_mode_prefs.h" 18 #include "chrome/browser/prefs/incognito_mode_prefs.h"
19 #include "chrome/browser/profiles/profile.h" 19 #include "chrome/browser/profiles/profile.h"
20 #include "chrome/browser/themes/theme_properties.h" 20 #include "chrome/browser/themes/theme_properties.h"
21 #include "chrome/browser/themes/theme_service.h" 21 #include "chrome/browser/themes/theme_service.h"
22 #import "chrome/browser/themes/theme_service_factory.h" 22 #import "chrome/browser/themes/theme_service_factory.h"
23 #include "chrome/browser/ui/bookmarks/bookmark_editor.h" 23 #include "chrome/browser/ui/bookmarks/bookmark_editor.h"
(...skipping 3061 matching lines...) Expand 10 before | Expand all | Expand 10 after
3085 - (id<BookmarkButtonControllerProtocol>)controllerForNode: 3085 - (id<BookmarkButtonControllerProtocol>)controllerForNode:
3086 (const BookmarkNode*)node { 3086 (const BookmarkNode*)node {
3087 // See if it's in the bar, then if it is in the hierarchy of visible 3087 // See if it's in the bar, then if it is in the hierarchy of visible
3088 // folder menus. 3088 // folder menus.
3089 if (bookmarkModel_->bookmark_bar_node() == node) 3089 if (bookmarkModel_->bookmark_bar_node() == node)
3090 return self; 3090 return self;
3091 return [folderController_ controllerForNode:node]; 3091 return [folderController_ controllerForNode:node];
3092 } 3092 }
3093 3093
3094 @end 3094 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698