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

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

Issue 622343002: replace OVERRIDE and FINAL with override and final in extensions/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « extensions/renderer/dom_activity_logger.h ('k') | extensions/renderer/extension_helper.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/common/extension_urls.h" 5 #include "extensions/common/extension_urls.h"
6 #include "extensions/renderer/module_system_test.h" 6 #include "extensions/renderer/module_system_test.h"
7 #include "grit/extensions_renderer_resources.h" 7 #include "grit/extensions_renderer_resources.h"
8 8
9 namespace extensions { 9 namespace extensions {
10 namespace { 10 namespace {
11 11
12 class EventUnittest : public ModuleSystemTest { 12 class EventUnittest : public ModuleSystemTest {
13 virtual void SetUp() OVERRIDE { 13 virtual void SetUp() override {
14 ModuleSystemTest::SetUp(); 14 ModuleSystemTest::SetUp();
15 15
16 env()->RegisterModule(kEventBindings, IDR_EVENT_BINDINGS_JS); 16 env()->RegisterModule(kEventBindings, IDR_EVENT_BINDINGS_JS);
17 env()->RegisterModule("json_schema", IDR_JSON_SCHEMA_JS); 17 env()->RegisterModule("json_schema", IDR_JSON_SCHEMA_JS);
18 env()->RegisterModule(kSchemaUtils, IDR_SCHEMA_UTILS_JS); 18 env()->RegisterModule(kSchemaUtils, IDR_SCHEMA_UTILS_JS);
19 env()->RegisterModule("uncaught_exception_handler", 19 env()->RegisterModule("uncaught_exception_handler",
20 IDR_UNCAUGHT_EXCEPTION_HANDLER_JS); 20 IDR_UNCAUGHT_EXCEPTION_HANDLER_JS);
21 env()->RegisterModule("unload_event", IDR_UNLOAD_EVENT_JS); 21 env()->RegisterModule("unload_event", IDR_UNLOAD_EVENT_JS);
22 env()->RegisterModule("utils", IDR_UTILS_JS); 22 env()->RegisterModule("utils", IDR_UTILS_JS);
23 23
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 " e.addListener(cb);" 284 " e.addListener(cb);"
285 "} catch (e) {" 285 "} catch (e) {"
286 " caught = true;" 286 " caught = true;"
287 "}" 287 "}"
288 "assert.AssertTrue(caught);"); 288 "assert.AssertTrue(caught);");
289 env()->module_system()->Require("test"); 289 env()->module_system()->Require("test");
290 } 290 }
291 291
292 } // namespace 292 } // namespace
293 } // namespace extensions 293 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/renderer/dom_activity_logger.h ('k') | extensions/renderer/extension_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698