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

Unified Diff: tools/ipc_fuzzer/mutate/mutator.h

Issue 1025483002: Restructure the ipc_fuzzer directory. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move more files around Created 5 years, 9 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 | « tools/ipc_fuzzer/mutate/mutate.gyp ('k') | tools/ipc_fuzzer/mutate/mutator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/ipc_fuzzer/mutate/mutator.h
diff --git a/tools/ipc_fuzzer/mutate/mutator.h b/tools/ipc_fuzzer/mutate/mutator.h
deleted file mode 100644
index 4ec9e8965f70b96b4716377e64461f3e34a7dc0e..0000000000000000000000000000000000000000
--- a/tools/ipc_fuzzer/mutate/mutator.h
+++ /dev/null
@@ -1,44 +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 TOOLS_IPC_FUZZER_MUTATE_MUTATOR_H_
-#define TOOLS_IPC_FUZZER_MUTATE_MUTATOR_H_
-
-#include <string>
-
-#include "tools/ipc_fuzzer/mutate/fuzzer.h"
-
-namespace ipc_fuzzer {
-
-class Mutator : public Fuzzer {
- public:
- explicit Mutator(unsigned int frequency) : frequency_(frequency) {}
- virtual ~Mutator() {}
-
- void FuzzBool(bool* value) override;
- void FuzzInt(int* value) override;
- void FuzzLong(long* value) override;
- void FuzzSize(size_t* value) override;
- void FuzzUChar(unsigned char* value) override;
- void FuzzWChar(wchar_t* value) override;
- void FuzzUInt16(uint16* value) override;
- void FuzzUInt32(uint32* value) override;
- void FuzzInt64(int64* value) override;
- void FuzzUInt64(uint64* value) override;
- void FuzzFloat(float* value) override;
- void FuzzDouble(double* value) override;
- void FuzzString(std::string* value) override;
- void FuzzString16(base::string16* value) override;
- void FuzzData(char* data, int length) override;
- void FuzzBytes(void* data, int data_len) override;
- bool ShouldGenerate() override;
-
- private:
- // TODO(mbarbella): Use double frequencies.
- unsigned int frequency_;
-};
-
-} // namespace ipc_fuzzer
-
-#endif // TOOLS_IPC_FUZZER_MUTATE_MUTATOR_H_
« no previous file with comments | « tools/ipc_fuzzer/mutate/mutate.gyp ('k') | tools/ipc_fuzzer/mutate/mutator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698