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

Side by Side Diff: chrome/browser/extensions/api/log_private/log_private_api_chromeos.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, 8 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/api/log_private/log_private_api.h" 5 #include "chrome/browser/extensions/api/log_private/log_private_api.h"
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/json/json_writer.h" 10 #include "base/json/json_writer.h"
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 } 214 }
215 215
216 LogPrivateStartNetInternalsWatchFunction:: 216 LogPrivateStartNetInternalsWatchFunction::
217 LogPrivateStartNetInternalsWatchFunction() { 217 LogPrivateStartNetInternalsWatchFunction() {
218 } 218 }
219 219
220 LogPrivateStartNetInternalsWatchFunction:: 220 LogPrivateStartNetInternalsWatchFunction::
221 ~LogPrivateStartNetInternalsWatchFunction() { 221 ~LogPrivateStartNetInternalsWatchFunction() {
222 } 222 }
223 223
224 bool LogPrivateStartNetInternalsWatchFunction::RunImpl() { 224 bool LogPrivateStartNetInternalsWatchFunction::RunSync() {
225 LogPrivateAPI::Get(GetProfile())->StartNetInternalsWatch(extension_id()); 225 LogPrivateAPI::Get(GetProfile())->StartNetInternalsWatch(extension_id());
226 return true; 226 return true;
227 } 227 }
228 228
229 LogPrivateStopNetInternalsWatchFunction:: 229 LogPrivateStopNetInternalsWatchFunction::
230 LogPrivateStopNetInternalsWatchFunction() { 230 LogPrivateStopNetInternalsWatchFunction() {
231 } 231 }
232 232
233 LogPrivateStopNetInternalsWatchFunction:: 233 LogPrivateStopNetInternalsWatchFunction::
234 ~LogPrivateStopNetInternalsWatchFunction() { 234 ~LogPrivateStopNetInternalsWatchFunction() {
235 } 235 }
236 236
237 bool LogPrivateStopNetInternalsWatchFunction::RunImpl() { 237 bool LogPrivateStopNetInternalsWatchFunction::RunSync() {
238 LogPrivateAPI::Get(GetProfile())->StopNetInternalsWatch(extension_id()); 238 LogPrivateAPI::Get(GetProfile())->StopNetInternalsWatch(extension_id());
239 return true; 239 return true;
240 } 240 }
241 241
242 } // namespace extensions 242 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698