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

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

Issue 1549643002: Switch to standard integer types in extensions/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@clean
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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/event_router.h" 5 #include "extensions/browser/event_router.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "base/macros.h"
11 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
12 #include "base/values.h" 13 #include "base/values.h"
13 #include "content/public/browser/notification_service.h" 14 #include "content/public/browser/notification_service.h"
14 #include "extensions/browser/event_listener_map.h" 15 #include "extensions/browser/event_listener_map.h"
15 #include "extensions/browser/extensions_test.h" 16 #include "extensions/browser/extensions_test.h"
16 #include "testing/gtest/include/gtest/gtest.h" 17 #include "testing/gtest/include/gtest/gtest.h"
17 18
18 namespace extensions { 19 namespace extensions {
19 20
20 namespace { 21 namespace {
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 RunEventRouterObserverTest( 165 RunEventRouterObserverTest(
165 base::Bind(&CreateEventListenerForExtension, "extension_id")); 166 base::Bind(&CreateEventListenerForExtension, "extension_id"));
166 } 167 }
167 168
168 TEST_F(EventRouterTest, EventRouterObserverForURLs) { 169 TEST_F(EventRouterTest, EventRouterObserverForURLs) {
169 RunEventRouterObserverTest( 170 RunEventRouterObserverTest(
170 base::Bind(&CreateEventListenerForURL, GURL("http://google.com/path"))); 171 base::Bind(&CreateEventListenerForURL, GURL("http://google.com/path")));
171 } 172 }
172 173
173 } // namespace extensions 174 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/browser/event_router_factory.h ('k') | extensions/browser/extension_dialog_auto_confirm.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698