summaryrefslogtreecommitdiffstats
path: root/win8/delegate_execute/delegate_execute_operation.h
diff options
context:
space:
mode:
authorerikwright@chromium.org <erikwright@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-07 18:47:30 +0000
committererikwright@chromium.org <erikwright@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-07 18:47:30 +0000
commit6fd9b4cdd4a8d9fa2f0e7f63689b6d4c5a2f3f71 (patch)
tree1c08b23a957274772b044361ecb81868c1f668ac /win8/delegate_execute/delegate_execute_operation.h
parentab6d23fe5463f88e7e48147d10447575296f75f9 (diff)
downloadchromium_src-6fd9b4cdd4a8d9fa2f0e7f63689b6d4c5a2f3f71.zip
chromium_src-6fd9b4cdd4a8d9fa2f0e7f63689b6d4c5a2f3f71.tar.gz
chromium_src-6fd9b4cdd4a8d9fa2f0e7f63689b6d4c5a2f3f71.tar.bz2
Revert 155429 - Integrate the Windows 8 code into the Chromium tree.
Exception: Missing input files: c:\b\build\slave\cr-win-rel\build\src\win8\metro_driver\..\win8\delegate_execute\chrome_util.h http://build.chromium.org/p/chromium/builders/Win%20Builder/builds/37270/steps/runhooks/logs/stdio BUG=127799 TEST=A Chromium build can run as the immersive browser on Windows 8. Review URL: https://chromiumcodereview.appspot.com/10875008 TBR=robertshield@chromium.org Review URL: https://chromiumcodereview.appspot.com/10919152 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155435 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'win8/delegate_execute/delegate_execute_operation.h')
-rw-r--r--win8/delegate_execute/delegate_execute_operation.h52
1 files changed, 0 insertions, 52 deletions
diff --git a/win8/delegate_execute/delegate_execute_operation.h b/win8/delegate_execute/delegate_execute_operation.h
deleted file mode 100644
index 59acfd7a..0000000
--- a/win8/delegate_execute/delegate_execute_operation.h
+++ /dev/null
@@ -1,52 +0,0 @@
-// Copyright (c) 2012 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 WIN8_DELEGATE_EXECUTE_DELEGATE_EXECUTE_OPERATION_H_
-#define WIN8_DELEGATE_EXECUTE_DELEGATE_EXECUTE_OPERATION_H_
-
-#include <atldef.h>
-
-#include "base/basictypes.h"
-#include "base/file_path.h"
-
-class CommandLine;
-
-namespace delegate_execute {
-
-// Parses a portion of the DelegateExecute handler's command line to determine
-// the desired operation.
-class DelegateExecuteOperation {
- public:
- enum OperationType {
- EXE_MODULE,
- RELAUNCH_CHROME,
- };
-
- DelegateExecuteOperation();
- ~DelegateExecuteOperation();
-
- void Initialize(const CommandLine* command_line);
-
- OperationType operation_type() const {
- return operation_type_;
- }
-
- // Returns the argument to the --relaunch-shortcut switch. Valid only when
- // the operation is RELAUNCH_CHROME.
- const FilePath& relaunch_shortcut() const {
- ATLASSERT(operation_type_ == RELAUNCH_CHROME);
- return relaunch_shortcut_;
- }
-
- private:
- void Clear();
-
- OperationType operation_type_;
- FilePath relaunch_shortcut_;
- DISALLOW_COPY_AND_ASSIGN(DelegateExecuteOperation);
-};
-
-} // namespace delegate_execute
-
-#endif // WIN8_DELEGATE_EXECUTE_DELEGATE_EXECUTE_OPERATION_H_