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

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

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 #include "chrome/browser/extensions/settings/settings_managed_frontend.h"
6
7 #include "base/logging.h"
8 #include "content/public/browser/browser_thread.h"
9
10 using content::BrowserThread;
11
12 namespace extensions {
13
14 SettingsManagedFrontend::SettingsManagedFrontend(Profile* profile) {}
not at google - send to devlin 2012/07/18 07:46:18 so I presume you'll be using the Profile for somet
Joao da Silva 2012/07/18 21:40:25 Yep :-) profile->GetPolicyService() is where the s
not at google - send to devlin 2012/07/19 06:43:17 Is it possible to only inject the PolicyService th
Joao da Silva 2012/07/19 11:26:04 Sure, done.
15
16 SettingsManagedFrontend::~SettingsManagedFrontend() {}
17
18 void SettingsManagedFrontend::RunWithStorage(const Extension* extension,
19 const StorageCallback& callback) {
20 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
21 NOTREACHED() << "Not implemented yet.";
22 callback.Run(NULL);
23 }
24
25 void SettingsManagedFrontend::DeleteStorageSoon(
26 const std::string& extension_id) {
27 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
28 // Not implemented yet.
29 }
30
31 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698