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

Side by Side Diff: chrome/browser/ui/cocoa/download/download_item_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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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/download/download_item_controller.h" 5 #import "chrome/browser/ui/cocoa/download/download_item_controller.h"
6 6
7 #include "base/mac/bundle_locations.h" 7 #include "base/mac/bundle_locations.h"
8 #include "base/metrics/histogram.h" 8 #include "base/metrics/histogram_macros.h"
9 #include "base/strings/string16.h" 9 #include "base/strings/string16.h"
10 #include "base/strings/string_util.h" 10 #include "base/strings/string_util.h"
11 #include "base/strings/sys_string_conversions.h" 11 #include "base/strings/sys_string_conversions.h"
12 #include "base/strings/utf_string_conversions.h" 12 #include "base/strings/utf_string_conversions.h"
13 #include "chrome/browser/download/chrome_download_manager_delegate.h" 13 #include "chrome/browser/download/chrome_download_manager_delegate.h"
14 #include "chrome/browser/download/download_item_model.h" 14 #include "chrome/browser/download/download_item_model.h"
15 #include "chrome/browser/download/download_shelf_context_menu.h" 15 #include "chrome/browser/download/download_shelf_context_menu.h"
16 #include "chrome/browser/extensions/api/experience_sampling_private/experience_s ampling.h" 16 #include "chrome/browser/extensions/api/experience_sampling_private/experience_s ampling.h"
17 #import "chrome/browser/themes/theme_properties.h" 17 #import "chrome/browser/themes/theme_properties.h"
18 #import "chrome/browser/themes/theme_service.h" 18 #import "chrome/browser/themes/theme_service.h"
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after
360 DownloadItem* download = bridge_->download_model()->download(); 360 DownloadItem* download = bridge_->download_model()->download();
361 download->Remove(); 361 download->Remove();
362 // WARNING: we are deleted at this point. Don't access 'this'. 362 // WARNING: we are deleted at this point. Don't access 'this'.
363 } 363 }
364 364
365 - (IBAction)showContextMenu:(id)sender { 365 - (IBAction)showContextMenu:(id)sender {
366 [progressView_ showContextMenu]; 366 [progressView_ showContextMenu];
367 } 367 }
368 368
369 @end 369 @end
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/confirm_quit_panel_controller.mm ('k') | chrome/browser/ui/cocoa/external_protocol_dialog.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698