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

Side by Side Diff: content/public/common/page_state_webkit.cc

Issue 16189015: [OBSOLETE] Slogging webkit_base out of existence. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/content_tests.gypi ('k') | content/renderer/dom_serializer_browsertest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 #include "content/public/common/page_state.h" 5 #include "content/public/common/page_state.h"
6 6
7 #include "third_party/WebKit/public/platform/WebHTTPBody.h" 7 #include "third_party/WebKit/public/platform/WebHTTPBody.h"
8 #include "third_party/WebKit/public/platform/WebString.h" 8 #include "third_party/WebKit/public/platform/WebString.h"
9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebHistoryItem.h" 9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebHistoryItem.h"
10 #include "webkit/base/file_path_string_conversions.h" 10 #include "webkit/common/base/file_path_string_conversions.h"
11 #include "webkit/glue/glue_serialize_deprecated.h" 11 #include "webkit/glue/glue_serialize_deprecated.h"
12 12
13 namespace content { 13 namespace content {
14 14
15 // static 15 // static
16 PageState PageState::CreateFromURL(const GURL& url) { 16 PageState PageState::CreateFromURL(const GURL& url) {
17 return PageState(webkit_glue::CreateHistoryStateForURL(url)); 17 return PageState(webkit_glue::CreateHistoryStateForURL(url));
18 } 18 }
19 19
20 // static 20 // static
(...skipping 29 matching lines...) Expand all
50 50
51 PageState PageState::RemovePasswordData() const { 51 PageState PageState::RemovePasswordData() const {
52 return PageState(webkit_glue::RemovePasswordDataFromHistoryState(data_)); 52 return PageState(webkit_glue::RemovePasswordDataFromHistoryState(data_));
53 } 53 }
54 54
55 PageState PageState::RemoveScrollOffset() const { 55 PageState PageState::RemoveScrollOffset() const {
56 return PageState(webkit_glue::RemoveScrollOffsetFromHistoryState(data_)); 56 return PageState(webkit_glue::RemoveScrollOffsetFromHistoryState(data_));
57 } 57 }
58 58
59 } // namespace content 59 } // namespace content
OLDNEW
« no previous file with comments | « content/content_tests.gypi ('k') | content/renderer/dom_serializer_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698