Don't preload rarely seen large images
[chromium-blink-merge.git] / components / proximity_auth / ble / fake_wire_message.h
blobf0f2325456d390d31eb129456da9657e64c8434b
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef COMPONENTS_PROXIMITY_AUTH_FAKE_WIRE_MESSAGE_H
6 #define COMPONENTS_PROXIMITY_AUTH_FAKE_WIRE_MESSAGE_H
8 #include <string>
10 #include "base/macros.h"
11 #include "base/memory/scoped_ptr.h"
13 #include "components/proximity_auth/wire_message.h"
15 namespace proximity_auth {
17 class FakeWireMessage : public WireMessage {
18 public:
19 FakeWireMessage(const std::string& payload);
21 static scoped_ptr<FakeWireMessage> Deserialize(
22 const std::string& serialized_message,
23 bool* is_incomplete_message);
25 std::string Serialize() const override;
27 private:
28 DISALLOW_COPY_AND_ASSIGN(FakeWireMessage);
32 #endif // COMPONENTS_PROXIMITY_AUTH_WIRE_MESSAGE_H