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

Unified Diff: blimp/engine/app/blimp_engine_config.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/blimp_content_main_delegate.cc ('k') | blimp/engine/app/blimp_engine_config.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/engine/app/blimp_engine_config.h
diff --git a/blimp/engine/app/blimp_engine_config.h b/blimp/engine/app/blimp_engine_config.h
deleted file mode 100644
index 1af15943e0cb60ddb1e175224fdaec89a8238136..0000000000000000000000000000000000000000
--- a/blimp/engine/app/blimp_engine_config.h
+++ /dev/null
@@ -1,61 +0,0 @@
-// Copyright 2015 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_BLIMP_ENGINE_CONFIG_H_
-#define BLIMP_ENGINE_APP_BLIMP_ENGINE_CONFIG_H_
-
-#include <memory>
-#include <string>
-
-#include "base/macros.h"
-
-namespace base {
-class CommandLine;
-} // namespace base
-
-namespace blimp {
-namespace engine {
-
-// Set internal command line switches for Blimp engine.
-void SetCommandLineDefaults(base::CommandLine* command_line);
-
-// Class to hold all of the configuration bits necessary for the Blimp engine.
-//
-// The BlimpEngineConfig class is initialized from parameters provided on the
-// command line. For the switches to pass verification:
-// * A client token filepath must be provided and the file must have a
-// non-empty token.
-//
-// The BlimpEngineConfig object is intended to live as long as the engine is
-// running. It should also be one of the first things to be set up.
-class BlimpEngineConfig {
- public:
- ~BlimpEngineConfig();
-
- // Attempts to create a BlimpEngineConfig based on the parameters in the
- // specified CommandLine. This validates all of the command line switches and
- // parses all files specified. Returns a non-null std::unique_ptr on success.
- static std::unique_ptr<BlimpEngineConfig> Create(
- const base::CommandLine& cmd_line);
-
- // Creates a BlimpEngineConfig based on individual components. Should only
- // be used for testing.
- static std::unique_ptr<BlimpEngineConfig> CreateForTest(
- const std::string& client_auth_token);
-
- // Returns the client token.
- const std::string& client_auth_token() const;
-
- private:
- explicit BlimpEngineConfig(const std::string& client_auth_token);
-
- const std::string client_auth_token_;
-
- DISALLOW_COPY_AND_ASSIGN(BlimpEngineConfig);
-};
-
-} // namespace engine
-} // namespace blimp
-
-#endif // BLIMP_ENGINE_APP_BLIMP_ENGINE_CONFIG_H_
« no previous file with comments | « blimp/engine/app/blimp_content_main_delegate.cc ('k') | blimp/engine/app/blimp_engine_config.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698