Chromium Code Reviews| Index: content/public/browser/off_the_record_marker.h |
| diff --git a/content/public/browser/off_the_record_marker.h b/content/public/browser/off_the_record_marker.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..be241a29413238cf473d728b2c5746d454565839 |
| --- /dev/null |
| +++ b/content/public/browser/off_the_record_marker.h |
| @@ -0,0 +1,24 @@ |
| +// Copyright (c) 2012 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 CONTENT_PUBLIC_BROWSER_OFF_THE_RECORD_MARKER_H_ |
| +#define CONTENT_PUBLIC_BROWSER_OFF_THE_RECORD_MARKER_H_ |
| + |
| +#include "content/common/content_export.h" |
| +#include "ui/base/clipboard/clipboard.h" |
| + |
| +namespace content { |
| + |
| +class BrowserContext; |
| + |
| +// We want to add a special flag stored in OS clipboard in order to delete |
| +// this entry upon OffTheRecord context destruction. |
| +// Returns a SourceTag (pointer) if |context| is OffTheRecord context. |
| +// Otherwise, NULL. |
| +// If the clipboard contains that SourceTag at the time of |context| |
| +// destruction it will be flushed. |
| +CONTENT_EXPORT ui::Clipboard::SourceTag GetMarkerForOffTheRecordContext( |
| + BrowserContext* context); |
|
dcheng
2013/02/06 22:31:40
Nit: match newline at beginning of namespace block
vasilii
2013/02/07 17:30:05
Done.
|
| +} // namespace content |
| +#endif // CONTENT_PUBLIC_BROWSER_OFF_THE_RECORD_MARKER_H_ |