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

Unified Diff: headless/lib/browser/headless_network_delegate.h

Issue 1430673002: Headless demo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Better javascript 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « headless/lib/browser/headless_devtools.cc ('k') | headless/lib/browser/headless_network_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: headless/lib/browser/headless_network_delegate.h
diff --git a/content/shell/browser/shell_network_delegate.h b/headless/lib/browser/headless_network_delegate.h
similarity index 82%
copy from content/shell/browser/shell_network_delegate.h
copy to headless/lib/browser/headless_network_delegate.h
index cffc3b9f3c957188cf9f91744445917cede6a69f..be1f977730ac31a0f051328d689a1f54e5642303 100644
--- a/content/shell/browser/shell_network_delegate.h
+++ b/headless/lib/browser/headless_network_delegate.h
@@ -1,20 +1,20 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
+// Copyright 2015 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_SHELL_BROWSER_SHELL_NETWORK_DELEGATE_H_
-#define CONTENT_SHELL_BROWSER_SHELL_NETWORK_DELEGATE_H_
+#ifndef HEADLESS_LIB_BROWSER_HEADLESS_NETWORK_DELEGATE_H_
+#define HEADLESS_LIB_BROWSER_HEADLESS_NETWORK_DELEGATE_H_
#include "base/basictypes.h"
#include "base/compiler_specific.h"
#include "net/base/network_delegate_impl.h"
-namespace content {
+namespace headless {
-class ShellNetworkDelegate : public net::NetworkDelegateImpl {
+class HeadlessNetworkDelegate : public net::NetworkDelegateImpl {
public:
- ShellNetworkDelegate();
- ~ShellNetworkDelegate() override;
+ HeadlessNetworkDelegate();
+ ~HeadlessNetworkDelegate() override;
static void SetAcceptAllCookies(bool accept);
@@ -54,9 +54,9 @@ class ShellNetworkDelegate : public net::NetworkDelegateImpl {
const base::FilePath& path) const override;
bool OnAreExperimentalCookieFeaturesEnabled() const override;
- DISALLOW_COPY_AND_ASSIGN(ShellNetworkDelegate);
+ DISALLOW_COPY_AND_ASSIGN(HeadlessNetworkDelegate);
};
-} // namespace content
+} // namespace headless
-#endif // CONTENT_SHELL_BROWSER_SHELL_NETWORK_DELEGATE_H_
+#endif // HEADLESS_LIB_BROWSER_HEADLESS_NETWORK_DELEGATE_H_
« no previous file with comments | « headless/lib/browser/headless_devtools.cc ('k') | headless/lib/browser/headless_network_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698