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

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

Issue 252653002: Rename (Chrome)SyncExtensionFunction::RunImpl to RunSync so that the RunImpl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix bookmarks Created 6 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
« no previous file with comments | « extensions/browser/extension_function.h ('k') | extensions/browser/quota_service_unittest.cc » ('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 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/extension_function.h" 5 #include "extensions/browser/extension_function.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "content/public/browser/notification_source.h" 8 #include "content/public/browser/notification_source.h"
9 #include "content/public/browser/notification_types.h" 9 #include "content/public/browser/notification_types.h"
10 #include "content/public/browser/render_frame_host.h" 10 #include "content/public/browser/render_frame_host.h"
(...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after
368 368
369 AsyncExtensionFunction::~AsyncExtensionFunction() { 369 AsyncExtensionFunction::~AsyncExtensionFunction() {
370 } 370 }
371 371
372 SyncExtensionFunction::SyncExtensionFunction() { 372 SyncExtensionFunction::SyncExtensionFunction() {
373 } 373 }
374 374
375 SyncExtensionFunction::~SyncExtensionFunction() { 375 SyncExtensionFunction::~SyncExtensionFunction() {
376 } 376 }
377 377
378 void SyncExtensionFunction::Run() { 378 bool SyncExtensionFunction::RunImpl() {
379 SendResponse(RunImpl()); 379 SendResponse(RunSync());
380 return true;
380 } 381 }
381 382
382 SyncIOThreadExtensionFunction::SyncIOThreadExtensionFunction() { 383 SyncIOThreadExtensionFunction::SyncIOThreadExtensionFunction() {
383 } 384 }
384 385
385 SyncIOThreadExtensionFunction::~SyncIOThreadExtensionFunction() { 386 SyncIOThreadExtensionFunction::~SyncIOThreadExtensionFunction() {
386 } 387 }
387 388
388 void SyncIOThreadExtensionFunction::Run() { 389 bool SyncIOThreadExtensionFunction::RunImpl() {
389 SendResponse(RunImpl()); 390 SendResponse(RunSync());
391 return true;
390 } 392 }
OLDNEW
« no previous file with comments | « extensions/browser/extension_function.h ('k') | extensions/browser/quota_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698