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

Unified Diff: experimental/visual_studio_plugin/src/debug_conn/debug_flags.h

Issue 10928195: First round of dead file removal (Closed) Base URL: https://github.com/samclegg/nativeclient-sdk.git@master
Patch Set: Created 8 years, 3 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
Index: experimental/visual_studio_plugin/src/debug_conn/debug_flags.h
diff --git a/experimental/visual_studio_plugin/src/debug_conn/debug_flags.h b/experimental/visual_studio_plugin/src/debug_conn/debug_flags.h
deleted file mode 100644
index 3ea72cbcedcbe3d8205f36cc903a77307e0be4ca..0000000000000000000000000000000000000000
--- a/experimental/visual_studio_plugin/src/debug_conn/debug_flags.h
+++ /dev/null
@@ -1,61 +0,0 @@
-/*
- * Copyright 2011 The Native Client 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 NATIVE_CLIENT_SRC_TRUSTED_DEBUG_STUB_DEBUG_FLAGS_H_
-#define NATIVE_CLIENT_SRC_TRUSTED_DEBUG_STUB_DEBUG_FLAGS_H_ 1
-
-#include "native_client/src/include/portability.h"
-
-/*
- * This module provides interfaces for the host side of the
- * connection.
- *
- */
-
-namespace nacl_debug_conn {
-
-class DebugFlags {
- public:
- DebugFlags() : flags_(0) {}
- virtual ~DebugFlags() {}
-
- bool GetFlag(uint32_t flag) const {
- return ((flags_ & flag) != 0);
- }
-
- uint32_t GetFlags() const {
- return flags_;
- }
-
- uint32_t GetFlagsMasked(uint32_t mask) const {
- return flags_ & mask;
- }
-
- void ClearFlag(uint32_t flag) {
- flags_ &= ~flag;
- }
-
- void SetFlag(uint32_t flag) {
- flags_ |= flag;
- }
-
- void SetFlags(uint32_t flags) {
- flags_ = flags;
- }
-
- void SetFlagsMasked(uint32_t flags, uint32_t mask) {
- flags_ &= ~mask;
- flags_ |= flags;
- }
-
-private:
- uint32_t flags_;
-};
-
-} /* End of nacl_debug_conn Namespace */
-
-#endif
-

Powered by Google App Engine
This is Rietveld 408576698