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

Side by Side Diff: blimp/engine/feature/engine_settings_feature.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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 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 BLIMP_ENGINE_FEATURE_ENGINE_SETTINGS_FEATURE_H_
6 #define BLIMP_ENGINE_FEATURE_ENGINE_SETTINGS_FEATURE_H_
7
8 #include "base/macros.h"
9 #include "base/observer_list.h"
10 #include "blimp/net/blimp_message_processor.h"
11 #include "content/public/browser/render_view_host.h"
12
13 namespace blimp {
14 class EngineSettingsMessage;
15
16 namespace engine {
17 class SettingsManager;
18
19 // The feature is used to receive global settings from the client.
20 class EngineSettingsFeature : public BlimpMessageProcessor {
21 public:
22 explicit EngineSettingsFeature(SettingsManager* settings_manager);
23 ~EngineSettingsFeature() override;
24
25 // BlimpMessageProcessor implementation.
26 void ProcessMessage(std::unique_ptr<BlimpMessage> message,
27 const net::CompletionCallback& callback) override;
28
29 private:
30 void ProcessSettings(const EngineSettingsMessage& settings);
31
32 SettingsManager* settings_manager_;
33
34 DISALLOW_COPY_AND_ASSIGN(EngineSettingsFeature);
35 };
36
37 } // namespace engine
38 } // namespace blimp
39
40 #endif // BLIMP_ENGINE_FEATURE_ENGINE_SETTINGS_FEATURE_H_
OLDNEW
« no previous file with comments | « blimp/engine/feature/engine_render_widget_feature_unittest.cc ('k') | blimp/engine/feature/engine_settings_feature.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698