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

Side by Side Diff: chrome/browser/extensions/crx_installer.cc

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 #include "chrome/browser/extensions/crx_installer.h" 5 #include "chrome/browser/extensions/crx_installer.h"
6 6
7 #include <map> 7 #include <map>
8 #include <set> 8 #include <set>
9 #include <utility> 9 #include <utility>
10 10
11 #include "base/bind.h" 11 #include "base/bind.h"
12 #include "base/files/file_util.h" 12 #include "base/files/file_util.h"
13 #include "base/files/scoped_temp_dir.h" 13 #include "base/files/scoped_temp_dir.h"
14 #include "base/lazy_instance.h" 14 #include "base/lazy_instance.h"
15 #include "base/macros.h" 15 #include "base/macros.h"
16 #include "base/memory/ptr_util.h" 16 #include "base/memory/ptr_util.h"
17 #include "base/metrics/histogram.h" 17 #include "base/metrics/histogram_macros.h"
18 #include "base/sequenced_task_runner.h" 18 #include "base/sequenced_task_runner.h"
19 #include "base/strings/string_util.h" 19 #include "base/strings/string_util.h"
20 #include "base/strings/stringprintf.h" 20 #include "base/strings/stringprintf.h"
21 #include "base/strings/utf_string_conversions.h" 21 #include "base/strings/utf_string_conversions.h"
22 #include "base/threading/sequenced_worker_pool.h" 22 #include "base/threading/sequenced_worker_pool.h"
23 #include "base/threading/thread_restrictions.h" 23 #include "base/threading/thread_restrictions.h"
24 #include "base/time/time.h" 24 #include "base/time/time.h"
25 #include "base/version.h" 25 #include "base/version.h"
26 #include "build/build_config.h" 26 #include "build/build_config.h"
27 #include "chrome/browser/extensions/convert_user_script.h" 27 #include "chrome/browser/extensions/convert_user_script.h"
(...skipping 888 matching lines...) Expand 10 before | Expand all | Expand 10 after
916 ExtensionInstallPrompt::GetReEnablePromptTypeForExtension( 916 ExtensionInstallPrompt::GetReEnablePromptTypeForExtension(
917 service->profile(), extension()); 917 service->profile(), extension());
918 client_->ShowDialog(base::Bind(&CrxInstaller::OnInstallPromptDone, this), 918 client_->ShowDialog(base::Bind(&CrxInstaller::OnInstallPromptDone, this),
919 extension(), nullptr, 919 extension(), nullptr,
920 base::MakeUnique<ExtensionInstallPrompt::Prompt>(type), 920 base::MakeUnique<ExtensionInstallPrompt::Prompt>(type),
921 ExtensionInstallPrompt::GetDefaultShowDialogCallback()); 921 ExtensionInstallPrompt::GetDefaultShowDialogCallback());
922 } 922 }
923 } 923 }
924 924
925 } // namespace extensions 925 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/browser/extensions/chrome_content_verifier_delegate.cc ('k') | chrome/browser/extensions/dev_mode_bubble_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698