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

Side by Side Diff: chrome/browser/extensions/chrome_extension_function.h

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 #ifndef CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSION_FUNCTION_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSION_FUNCTION_H_
6 #define CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSION_FUNCTION_H_ 6 #define CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSION_FUNCTION_H_
7 7
8 #include "extensions/browser/extension_function.h" 8 #include "extensions/browser/extension_function.h"
9 9
10 class Browser; 10 class Browser;
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 protected: 61 protected:
62 virtual ~ChromeAsyncExtensionFunction(); 62 virtual ~ChromeAsyncExtensionFunction();
63 }; 63 };
64 64
65 // A chrome specific analog to SyncExtensionFunction. This has access 65 // A chrome specific analog to SyncExtensionFunction. This has access
66 // the a chrome Profile. 66 // the a chrome Profile.
67 class ChromeSyncExtensionFunction : public ChromeAsyncExtensionFunction { 67 class ChromeSyncExtensionFunction : public ChromeAsyncExtensionFunction {
68 public: 68 public:
69 ChromeSyncExtensionFunction(); 69 ChromeSyncExtensionFunction();
70 70
71 virtual void Run() OVERRIDE; 71 virtual void RunSync() OVERRIDE;
72
73 virtual void RunSync() = 0;
72 74
73 protected: 75 protected:
74 virtual ~ChromeSyncExtensionFunction(); 76 virtual ~ChromeSyncExtensionFunction();
75 }; 77 };
76 78
77 #endif // CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSION_FUNCTION_H_ 79 #endif // CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSION_FUNCTION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698