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

Side by Side Diff: extensions/renderer/dispatcher.cc

Issue 1486333002: Kill ScopedPtrMap and friends (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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/renderer/dispatcher.h" 5 #include "extensions/renderer/dispatcher.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/bind_helpers.h" 8 #include "base/bind_helpers.h"
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
11 #include "base/containers/scoped_ptr_map.h"
12 #include "base/debug/alias.h" 11 #include "base/debug/alias.h"
13 #include "base/lazy_instance.h" 12 #include "base/lazy_instance.h"
14 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
15 #include "base/metrics/histogram_macros.h" 14 #include "base/metrics/histogram_macros.h"
16 #include "base/metrics/user_metrics_action.h" 15 #include "base/metrics/user_metrics_action.h"
17 #include "base/strings/string_piece.h" 16 #include "base/strings/string_piece.h"
18 #include "base/strings/string_split.h" 17 #include "base/strings/string_split.h"
19 #include "base/strings/string_util.h" 18 #include "base/strings/string_util.h"
20 #include "base/strings/utf_string_conversions.h" 19 #include "base/strings/utf_string_conversions.h"
21 #include "base/time/time.h" 20 #include "base/time/time.h"
(...skipping 1571 matching lines...) Expand 10 before | Expand all | Expand 10 after
1593 // The "guestViewDeny" module must always be loaded last. It registers 1592 // The "guestViewDeny" module must always be loaded last. It registers
1594 // error-providing custom elements for the GuestView types that are not 1593 // error-providing custom elements for the GuestView types that are not
1595 // available, and thus all of those types must have been checked and loaded 1594 // available, and thus all of those types must have been checked and loaded
1596 // (or not loaded) beforehand. 1595 // (or not loaded) beforehand.
1597 if (context_type == Feature::BLESSED_EXTENSION_CONTEXT) { 1596 if (context_type == Feature::BLESSED_EXTENSION_CONTEXT) {
1598 module_system->Require("guestViewDeny"); 1597 module_system->Require("guestViewDeny");
1599 } 1598 }
1600 } 1599 }
1601 1600
1602 } // namespace extensions 1601 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698