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

Side by Side Diff: components/sessions/core/serialized_navigation_driver.h

Issue 1413173005: Deprecate *_EXPORT_PRIVATE macros. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cl format Created 5 years, 1 month 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_SESSIONS_CORE_SERIALIZED_NAVIGATION_DRIVER_H_ 5 #ifndef COMPONENTS_SESSIONS_CORE_SERIALIZED_NAVIGATION_DRIVER_H_
6 #define COMPONENTS_SESSIONS_CORE_SERIALIZED_NAVIGATION_DRIVER_H_ 6 #define COMPONENTS_SESSIONS_CORE_SERIALIZED_NAVIGATION_DRIVER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "components/sessions/core/sessions_export.h" 10 #include "components/sessions/core/sessions_export.h"
11 11
12 namespace sessions { 12 namespace sessions {
13 13
14 class SerializedNavigationEntry; 14 class SerializedNavigationEntry;
15 15
16 // The SerializedNavigationDriver interface allows SerializedNavigationEntry to 16 // The SerializedNavigationDriver interface allows SerializedNavigationEntry to
17 // obtain information from a singleton driver object. A concrete implementation 17 // obtain information from a singleton driver object. A concrete implementation
18 // must be provided by the driver on each platform. 18 // must be provided by the driver on each platform.
19 class SESSIONS_EXPORT_PRIVATE SerializedNavigationDriver { 19 class SESSIONS_EXPORT SerializedNavigationDriver {
20 public: 20 public:
21 virtual ~SerializedNavigationDriver() {} 21 virtual ~SerializedNavigationDriver() {}
22 22
23 // Returns the singleton SerializedNavigationDriver. 23 // Returns the singleton SerializedNavigationDriver.
24 static SerializedNavigationDriver* Get(); 24 static SerializedNavigationDriver* Get();
25 25
26 // Returns the default referrer policy. 26 // Returns the default referrer policy.
27 virtual int GetDefaultReferrerPolicy() const = 0; 27 virtual int GetDefaultReferrerPolicy() const = 0;
28 28
29 // Maps current referrer policies to old values to work around 29 // Maps current referrer policies to old values to work around
(...skipping 18 matching lines...) Expand all
48 virtual void Sanitize(SerializedNavigationEntry* navigation) const = 0; 48 virtual void Sanitize(SerializedNavigationEntry* navigation) const = 0;
49 49
50 // Removes the referrer from the encoded page state. 50 // Removes the referrer from the encoded page state.
51 virtual std::string StripReferrerFromPageState( 51 virtual std::string StripReferrerFromPageState(
52 const std::string& page_state) const = 0; 52 const std::string& page_state) const = 0;
53 }; 53 };
54 54
55 } // namespace sessions 55 } // namespace sessions
56 56
57 #endif // COMPONENTS_SESSIONS_CORE_SERIALIZED_NAVIGATION_DRIVER_H_ 57 #endif // COMPONENTS_SESSIONS_CORE_SERIALIZED_NAVIGATION_DRIVER_H_
OLDNEW
« no previous file with comments | « components/sessions/content/content_serialized_navigation_driver.h ('k') | components/sessions/core/sessions_export.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698