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

Unified Diff: chrome/browser/extensions/script_executor_impl.h

Issue 10754004: Remove the refcount from ScriptBadgeController. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Revert ScopedObserver Created 8 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/extensions/script_executor.cc ('k') | chrome/browser/extensions/script_executor_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/script_executor_impl.h
diff --git a/chrome/browser/extensions/script_executor_impl.h b/chrome/browser/extensions/script_executor_impl.h
deleted file mode 100644
index bf66cd482f3443441c33116fcd600f3ef67b2428..0000000000000000000000000000000000000000
--- a/chrome/browser/extensions/script_executor_impl.h
+++ /dev/null
@@ -1,40 +0,0 @@
-// Copyright (c) 2012 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 CHROME_BROWSER_EXTENSIONS_SCRIPT_EXECUTOR_IMPL_H_
-#define CHROME_BROWSER_EXTENSIONS_SCRIPT_EXECUTOR_IMPL_H_
-#pragma once
-
-#include "chrome/browser/extensions/script_executor.h"
-
-#include "base/compiler_specific.h"
-
-namespace extensions {
-
-// Standard implementation of ScriptExecutor which just sends an IPC to
-// |web_contents_| to execute the script.
-class ScriptExecutorImpl : public ScriptExecutor {
- public:
- explicit ScriptExecutorImpl(content::WebContents* web_contents);
-
- virtual ~ScriptExecutorImpl();
-
- virtual void ExecuteScript(const std::string& extension_id,
- ScriptType script_type,
- const std::string& code,
- FrameScope frame_scope,
- UserScript::RunLocation run_at,
- WorldType world_type,
- const ExecuteScriptCallback& callback) OVERRIDE;
- private:
- // The next value to use for request_id inExtensionMsg_ExecuteCode_Params.
- int next_request_id_;
-
- // The WebContents this is bound to.
- content::WebContents* web_contents_;
-};
-
-} // namespace extensions
-
-#endif // CHROME_BROWSER_EXTENSIONS_SCRIPT_EXECUTOR_IMPL_H_
« no previous file with comments | « chrome/browser/extensions/script_executor.cc ('k') | chrome/browser/extensions/script_executor_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698