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

Side by Side Diff: extensions/browser/extension_function_dispatcher.cc

Issue 2598963005: Include-what-you-use for WrapUnique/MakeUnique. (Closed)
Patch Set: restore order of includes in x11_topmost_window_finder_interactive_uitest.cc Created 3 years, 12 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "extensions/browser/extension_function_dispatcher.h" 5 #include "extensions/browser/extension_function_dispatcher.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/json/json_string_value_serializer.h" 10 #include "base/json/json_string_value_serializer.h"
11 #include "base/lazy_instance.h" 11 #include "base/lazy_instance.h"
12 #include "base/logging.h" 12 #include "base/logging.h"
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "base/memory/ptr_util.h"
14 #include "base/memory/ref_counted.h" 15 #include "base/memory/ref_counted.h"
15 #include "base/metrics/histogram_macros.h" 16 #include "base/metrics/histogram_macros.h"
16 #include "base/metrics/sparse_histogram.h" 17 #include "base/metrics/sparse_histogram.h"
17 #include "base/process/process.h" 18 #include "base/process/process.h"
18 #include "base/profiler/scoped_profile.h" 19 #include "base/profiler/scoped_profile.h"
19 #include "base/scoped_observer.h" 20 #include "base/scoped_observer.h"
20 #include "base/values.h" 21 #include "base/values.h"
21 #include "build/build_config.h" 22 #include "build/build_config.h"
22 #include "content/public/browser/browser_thread.h" 23 #include "content/public/browser/browser_thread.h"
23 #include "content/public/browser/render_frame_host.h" 24 #include "content/public/browser/render_frame_host.h"
(...skipping 625 matching lines...) Expand 10 before | Expand all | Expand 10 after
649 // static 650 // static
650 void ExtensionFunctionDispatcher::SendAccessDenied( 651 void ExtensionFunctionDispatcher::SendAccessDenied(
651 const ExtensionFunction::ResponseCallback& callback, 652 const ExtensionFunction::ResponseCallback& callback,
652 functions::HistogramValue histogram_value) { 653 functions::HistogramValue histogram_value) {
653 base::ListValue empty_list; 654 base::ListValue empty_list;
654 callback.Run(ExtensionFunction::FAILED, empty_list, 655 callback.Run(ExtensionFunction::FAILED, empty_list,
655 "Access to extension API denied.", histogram_value); 656 "Access to extension API denied.", histogram_value);
656 } 657 }
657 658
658 } // namespace extensions 659 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698