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

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

Issue 1543053002: Switch to standard integer types in extensions/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@int-extensions-browser
Patch Set: Created 4 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/renderer/event_bindings.h" 5 #include "extensions/renderer/event_bindings.h"
6 6
7 #include <stdint.h>
8
7 #include <map> 9 #include <map>
8 #include <utility> 10 #include <utility>
9 11
10 #include "base/basictypes.h"
11 #include "base/bind.h" 12 #include "base/bind.h"
12 #include "base/lazy_instance.h" 13 #include "base/lazy_instance.h"
13 #include "base/memory/scoped_ptr.h" 14 #include "base/memory/scoped_ptr.h"
14 #include "components/crx_file/id_util.h" 15 #include "components/crx_file/id_util.h"
15 #include "content/public/child/v8_value_converter.h" 16 #include "content/public/child/v8_value_converter.h"
16 #include "content/public/renderer/render_frame.h" 17 #include "content/public/renderer/render_frame.h"
17 #include "content/public/renderer/render_thread.h" 18 #include "content/public/renderer/render_thread.h"
18 #include "content/public/renderer/render_view.h" 19 #include "content/public/renderer/render_view.h"
19 #include "extensions/common/event_filter.h" 20 #include "extensions/common/event_filter.h"
20 #include "extensions/common/extension.h" 21 #include "extensions/common/extension.h"
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after
357 // Same for filtered events. 358 // Same for filtered events.
358 std::set<int> attached_matcher_ids_safe = attached_matcher_ids_; 359 std::set<int> attached_matcher_ids_safe = attached_matcher_ids_;
359 for (int matcher_id : attached_matcher_ids_safe) { 360 for (int matcher_id : attached_matcher_ids_safe) {
360 DetachFilteredEvent(matcher_id, false /* is_manual */); 361 DetachFilteredEvent(matcher_id, false /* is_manual */);
361 } 362 }
362 DCHECK(attached_matcher_ids_.empty()) 363 DCHECK(attached_matcher_ids_.empty())
363 << "Filtered events cannot be attached during invalidation"; 364 << "Filtered events cannot be attached during invalidation";
364 } 365 }
365 366
366 } // namespace extensions 367 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/renderer/display_source_custom_bindings.cc ('k') | extensions/renderer/extension_frame_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698