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

Side by Side Diff: chrome/browser/extensions/settings/settings_managed_frontend.h

Issue 10784035: Refactored SettingsFrontend and forwarding of calls to the backends. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_EXTENSIONS_SETTINGS_SETTINGS_MANAGED_FRONTEND_H_
6 #define CHROME_BROWSER_EXTENSIONS_SETTINGS_SETTINGS_MANAGED_FRONTEND_H_
7
8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h"
10 #include "chrome/browser/extensions/settings/settings_namespace_frontend.h"
11
12 class Profile;
13
14 namespace extensions {
15
16 // TODO(joaodasilva): this is a work in progress. http://crbug.com/108992
17 class SettingsManagedFrontend : public SettingsNamespaceFrontend {
not at google - send to devlin 2012/07/18 07:46:18 ManagedSettingsFrontend? (sorry to suggest a nami
Joao da Silva 2012/07/18 21:40:25 Renamed to ManagedValueStoreCache.
18 public:
19 explicit SettingsManagedFrontend(Profile* profile);
20 virtual ~SettingsManagedFrontend();
21
22 virtual void RunWithStorage(const Extension* extension,
23 const StorageCallback& callback) OVERRIDE;
24
25 virtual void DeleteStorageSoon(const std::string& extension_id) OVERRIDE;
26
27 private:
28 DISALLOW_COPY_AND_ASSIGN(SettingsManagedFrontend);
29 };
30
31 } // namespace extensions
32
33 #endif // CHROME_BROWSER_EXTENSIONS_SETTINGS_SETTINGS_MANAGED_FRONTEND_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698