summaryrefslogtreecommitdiffstats
path: root/chrome/common/spellcheck_marker.h
blob: 551f7dcd1cdac6410e05752195d7aece8f0a375c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright (c) 2013 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 CHROME_COMMON_SPELLCHECK_MARKER_H_
#define CHROME_COMMON_SPELLCHECK_MARKER_H_

struct SpellCheckMarker {
  // IPC requires a default constructor.
  SpellCheckMarker() : hash(-1), offset(-1) {}

  SpellCheckMarker(uint32 hash, size_t offset) : hash(hash), offset(offset) {}

  uint32 hash;
  size_t offset;
};

#endif  // CHROME_COMMON_SPELLCHECK_MARKER_H_