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

Unified Diff: blimp/engine/app/settings_manager.h

Issue 2629743003: Remove all blimp engine code (Closed)
Patch Set: Use consistent comment style in //chrome Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « blimp/engine/app/engine_settings.h ('k') | blimp/engine/app/settings_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/engine/app/settings_manager.h
diff --git a/blimp/engine/app/settings_manager.h b/blimp/engine/app/settings_manager.h
deleted file mode 100644
index 3b0a11650ca6ff8d38a7fbd747728089134c2446..0000000000000000000000000000000000000000
--- a/blimp/engine/app/settings_manager.h
+++ /dev/null
@@ -1,51 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef BLIMP_ENGINE_APP_SETTINGS_MANAGER_H_
-#define BLIMP_ENGINE_APP_SETTINGS_MANAGER_H_
-
-#include "base/macros.h"
-#include "base/observer_list.h"
-#include "blimp/engine/app/engine_settings.h"
-#include "blimp/net/blimp_message_processor.h"
-#include "content/public/browser/render_view_host.h"
-
-namespace blimp {
-namespace engine {
-
-// This class is owned by the BlimpBrowserMainParts and manages the
-// |EngineSettings| that can be set on the engine.
-class SettingsManager {
- public:
- // An observer interested in knowing when the engine settings have changed.
- class Observer {
- public:
- // Called when the WebPreferences have changed. See content::WebPreferences.
- virtual void OnWebPreferencesChanged() {}
- };
-
- SettingsManager();
- ~SettingsManager();
-
- void AddObserver(Observer* observer);
- void RemoveObserver(Observer* observer);
-
- // Called to update the WebPreferences.
- void UpdateWebkitPreferences(content::WebPreferences* prefs);
-
- const EngineSettings& GetEngineSettings() const;
- void UpdateEngineSettings(const EngineSettings& settings);
-
- private:
- EngineSettings settings_;
-
- base::ObserverList<Observer> observer_list_;
-
- DISALLOW_COPY_AND_ASSIGN(SettingsManager);
-};
-
-} // namespace engine
-} // namespace blimp
-
-#endif // BLIMP_ENGINE_APP_SETTINGS_MANAGER_H_
« no previous file with comments | « blimp/engine/app/engine_settings.h ('k') | blimp/engine/app/settings_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698