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

Side by Side Diff: chrome/browser/extensions/chrome_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: 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
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 "chrome/browser/extensions/chrome_extension_function.h" 5 #include "chrome/browser/extensions/chrome_extension_function.h"
6 6
7 #include "chrome/browser/extensions/window_controller.h" 7 #include "chrome/browser/extensions/window_controller.h"
8 #include "chrome/browser/extensions/window_controller_list.h" 8 #include "chrome/browser/extensions/window_controller_list.h"
9 #include "chrome/browser/profiles/profile.h" 9 #include "chrome/browser/profiles/profile.h"
10 #include "chrome/browser/ui/browser.h" 10 #include "chrome/browser/ui/browser.h"
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 Browser* browser = GetCurrentBrowser(); 102 Browser* browser = GetCurrentBrowser();
103 if (!browser) 103 if (!browser)
104 return NULL; 104 return NULL;
105 return browser->tab_strip_model()->GetActiveWebContents(); 105 return browser->tab_strip_model()->GetActiveWebContents();
106 } 106 }
107 107
108 ChromeAsyncExtensionFunction::~ChromeAsyncExtensionFunction() {} 108 ChromeAsyncExtensionFunction::~ChromeAsyncExtensionFunction() {}
109 109
110 ChromeSyncExtensionFunction::ChromeSyncExtensionFunction() {} 110 ChromeSyncExtensionFunction::ChromeSyncExtensionFunction() {}
111 111
112 void ChromeSyncExtensionFunction::Run() { SendResponse(RunImpl()); } 112 void ChromeSyncExtensionFunction::RunImpl() {
113 SendResponse(RunSync());
114 return true;
115 }
113 116
114 ChromeSyncExtensionFunction::~ChromeSyncExtensionFunction() {} 117 ChromeSyncExtensionFunction::~ChromeSyncExtensionFunction() {}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698