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

Side by Side Diff: components/offline_pages/content/background_loader/background_loader_contents.h

Issue 2481443002: Implementation (cc file) for background loader contents. (Closed)
Patch Set: Format and build Created 4 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_OFFLINE_PAGES_CONTENT_BACKGROUND_LOADER_BACKGROUND_LOADER_CON TENTS_H_ 5 #ifndef COMPONENTS_OFFLINE_PAGES_CONTENT_BACKGROUND_LOADER_BACKGROUND_LOADER_CON TENTS_H_
6 #define COMPONENTS_OFFLINE_PAGES_CONTENT_BACKGROUND_LOADER_BACKGROUND_LOADER_CON TENTS_H_ 6 #define COMPONENTS_OFFLINE_PAGES_CONTENT_BACKGROUND_LOADER_BACKGROUND_LOADER_CON TENTS_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback.h"
11 #include "content/public/browser/web_contents_delegate.h" 10 #include "content/public/browser/web_contents_delegate.h"
12 #include "url/gurl.h" 11 #include "url/gurl.h"
13 12
14 namespace content { 13 namespace content {
15 class WebContents; 14 class WebContents;
16 } 15 }
17 16
18 namespace background_loader { 17 namespace background_loader {
19 18
20 // This class maintains a WebContents used in the background. It can host 19 // This class maintains a WebContents used in the background. It can host
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 74
76 private: 75 private:
77 std::unique_ptr<content::WebContents> web_contents_; 76 std::unique_ptr<content::WebContents> web_contents_;
78 content::BrowserContext* browser_context_; 77 content::BrowserContext* browser_context_;
79 78
80 DISALLOW_COPY_AND_ASSIGN(BackgroundLoaderContents); 79 DISALLOW_COPY_AND_ASSIGN(BackgroundLoaderContents);
81 }; 80 };
82 81
83 } // namespace background_loader 82 } // namespace background_loader
84 #endif // COMPONENTS_OFFLINE_PAGES_CONTENT_BACKGROUND_LOADER_BACKGROUND_LOADER_ CONTENTS_H_ 83 #endif // COMPONENTS_OFFLINE_PAGES_CONTENT_BACKGROUND_LOADER_BACKGROUND_LOADER_ CONTENTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698