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

Side by Side Diff: chrome/common/extensions/event_matcher.cc

Issue 10388135: Add common code for extensions event filtering. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: respond to comments Created 8 years, 7 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 | Annotate | Revision Log
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "chrome/common/extensions/event_matcher.h"
6 #include "chrome/common/extensions/event_filtering_info.h"
7
8 namespace extensions {
9
10 EventMatcher::EventMatcher() {
11 }
12
13 EventMatcher::~EventMatcher() {
14 }
15
16 bool EventMatcher::MatchNonURLCriteria(
17 const EventFilteringInfo& event_info) const {
18 // There is currently no criteria apart from URL criteria.
19 return true;
20 }
21
22 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698