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

Side by Side Diff: content/browser/renderer_host/render_view_host_impl.h

Issue 14727006: Check that the files the renderer wants to preserve as part of a session restore are already availa… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . not -> Created 7 years, 7 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 | « no previous file | content/browser/renderer_host/render_view_host_impl.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 544 matching lines...) Expand 10 before | Expand all | Expand 10 after
555 555
556 private: 556 private:
557 friend class TestRenderViewHost; 557 friend class TestRenderViewHost;
558 558
559 // Sets whether this RenderViewHost is swapped out in favor of another, 559 // Sets whether this RenderViewHost is swapped out in favor of another,
560 // and clears any waiting state that is no longer relevant. 560 // and clears any waiting state that is no longer relevant.
561 void SetSwappedOut(bool is_swapped_out); 561 void SetSwappedOut(bool is_swapped_out);
562 562
563 void ClearPowerSaveBlockers(); 563 void ClearPowerSaveBlockers();
564 564
565 bool CanAccessFilesOfSerializedState(const std::string& state) const;
566
565 // Our delegate, which wants to know about changes in the RenderView. 567 // Our delegate, which wants to know about changes in the RenderView.
566 RenderViewHostDelegate* delegate_; 568 RenderViewHostDelegate* delegate_;
567 569
568 // The SiteInstance associated with this RenderViewHost. All pages drawn 570 // The SiteInstance associated with this RenderViewHost. All pages drawn
569 // in this RenderViewHost are part of this SiteInstance. Should not change 571 // in this RenderViewHost are part of this SiteInstance. Should not change
570 // over time. 572 // over time.
571 scoped_refptr<SiteInstanceImpl> instance_; 573 scoped_refptr<SiteInstanceImpl> instance_;
572 574
573 // true if we are currently waiting for a response for drag context 575 // true if we are currently waiting for a response for drag context
574 // information. 576 // information.
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
678 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); 680 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl);
679 }; 681 };
680 682
681 #if defined(COMPILER_MSVC) 683 #if defined(COMPILER_MSVC)
682 #pragma warning(pop) 684 #pragma warning(pop)
683 #endif 685 #endif
684 686
685 } // namespace content 687 } // namespace content
686 688
687 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 689 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/renderer_host/render_view_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698