| Index: content/browser/devtools/devtools_manager.h
|
| diff --git a/content/browser/devtools/devtools_manager_impl.h b/content/browser/devtools/devtools_manager.h
|
| similarity index 66%
|
| rename from content/browser/devtools/devtools_manager_impl.h
|
| rename to content/browser/devtools/devtools_manager.h
|
| index c5ceb2ac61892eace1c2df2db2d980a458e07122..0f91f2050ba0f2183f46d307c7888ce1080b7875 100644
|
| --- a/content/browser/devtools/devtools_manager_impl.h
|
| +++ b/content/browser/devtools/devtools_manager.h
|
| @@ -2,8 +2,8 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_MANAGER_IMPL_H_
|
| -#define CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_MANAGER_IMPL_H_
|
| +#ifndef CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_MANAGER_H_
|
| +#define CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_MANAGER_H_
|
|
|
| #include <map>
|
| #include <string>
|
| @@ -18,28 +18,28 @@ class DevToolsManagerDelegate;
|
|
|
| // This class is a singleton that manage global DevTools state for the whole
|
| // browser.
|
| -class DevToolsManagerImpl {
|
| +class DevToolsManager {
|
| public:
|
| // Returns single instance of this class. The instance is destroyed on the
|
| // browser main loop exit so this method MUST NOT be called after that point.
|
| - static DevToolsManagerImpl* GetInstance();
|
| + static DevToolsManager* GetInstance();
|
|
|
| - DevToolsManagerImpl();
|
| - virtual ~DevToolsManagerImpl();
|
| + DevToolsManager();
|
| + virtual ~DevToolsManager();
|
|
|
| DevToolsManagerDelegate* delegate() const { return delegate_.get(); }
|
| void OnClientAttached();
|
| void OnClientDetached();
|
|
|
| private:
|
| - friend struct DefaultSingletonTraits<DevToolsManagerImpl>;
|
| + friend struct DefaultSingletonTraits<DevToolsManager>;
|
|
|
| scoped_ptr<DevToolsManagerDelegate> delegate_;
|
| int client_count_;
|
|
|
| - DISALLOW_COPY_AND_ASSIGN(DevToolsManagerImpl);
|
| + DISALLOW_COPY_AND_ASSIGN(DevToolsManager);
|
| };
|
|
|
| } // namespace content
|
|
|
| -#endif // CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_MANAGER_IMPL_H_
|
| +#endif // CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_MANAGER_H_
|
|
|