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

Unified Diff: content/child/webcrypto/crypto_data.h

Issue 251213006: [refactor] Remove WebArrayBuffer from unittests, since now using std::vector. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: constify Created 6 years, 8 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 | « no previous file | content/child/webcrypto/crypto_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/webcrypto/crypto_data.h
diff --git a/content/child/webcrypto/crypto_data.h b/content/child/webcrypto/crypto_data.h
index d12d116dc874418f1fb170f53bb7345d0ed69e9b..2433dd7ea1c4e34626eb42528056af0af0540801 100644
--- a/content/child/webcrypto/crypto_data.h
+++ b/content/child/webcrypto/crypto_data.h
@@ -12,10 +12,6 @@
#include "content/common/content_export.h"
#include "third_party/WebKit/public/platform/WebVector.h"
-namespace blink {
-class WebArrayBuffer;
-}
-
namespace content {
namespace webcrypto {
@@ -36,7 +32,6 @@ class CONTENT_EXPORT CryptoData {
// remain valid for the lifetime of CryptoData.
explicit CryptoData(const std::vector<unsigned char>& bytes);
explicit CryptoData(const std::string& bytes);
- explicit CryptoData(const blink::WebArrayBuffer& buffer);
explicit CryptoData(const blink::WebVector<unsigned char>& bytes);
const unsigned char* bytes() const { return bytes_; }
@@ -45,8 +40,6 @@ class CONTENT_EXPORT CryptoData {
private:
const unsigned char* const bytes_;
const unsigned int byte_length_;
-
- DISALLOW_COPY_AND_ASSIGN(CryptoData);
};
} // namespace webcrypto
« no previous file with comments | « no previous file | content/child/webcrypto/crypto_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698