Chromium Code Reviews| OLD | NEW |
|---|---|
| (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 | |
| OLD | NEW |