| Index: chrome_frame/chrome_frame_plugin.h
|
| ===================================================================
|
| --- chrome_frame/chrome_frame_plugin.h (revision 42690)
|
| +++ chrome_frame/chrome_frame_plugin.h (working copy)
|
| @@ -8,8 +8,6 @@
|
| #include "base/ref_counted.h"
|
| #include "base/win_util.h"
|
| #include "chrome_frame/chrome_frame_automation.h"
|
| -#include "chrome/common/chrome_paths.h"
|
| -#include "chrome/common/chrome_paths_internal.h"
|
| #include "chrome_frame/simple_resource_loader.h"
|
| #include "chrome_frame/utils.h"
|
|
|
| @@ -37,7 +35,6 @@
|
| END_MSG_MAP()
|
|
|
| bool Initialize() {
|
| - DLOG(INFO) << __FUNCTION__;
|
| DCHECK(!automation_client_.get());
|
| automation_client_ = CreateAutomationClient();
|
| if (!automation_client_.get()) {
|
| @@ -49,7 +46,6 @@
|
| }
|
|
|
| void Uninitialize() {
|
| - DLOG(INFO) << __FUNCTION__;
|
| if (IsValid()) {
|
| automation_client_->Uninitialize();
|
| automation_client_ = NULL;
|
| @@ -63,10 +59,8 @@
|
| // We don't want to do incognito when privileged, since we're
|
| // running in browser chrome or some other privileged context.
|
| bool incognito_mode = !is_privileged_ && incognito;
|
| - FilePath profile_path;
|
| - GetProfilePath(profile_name, &profile_path);
|
| return automation_client_->Initialize(this, kCommandExecutionTimeout, true,
|
| - profile_path, extra_chrome_arguments,
|
| + profile_name, extra_chrome_arguments,
|
| incognito_mode);
|
| }
|
|
|
| @@ -217,13 +211,6 @@
|
| }
|
| }
|
|
|
| - virtual void GetProfilePath(const std::wstring& profile_name,
|
| - FilePath* profile_path) {
|
| - chrome::GetChromeFrameUserDataDirectory(profile_path);
|
| - *profile_path = profile_path->Append(profile_name);
|
| - DLOG(INFO) << __FUNCTION__ << ": " << profile_path->value();
|
| - }
|
| -
|
| protected:
|
| // Our gateway to chrome land
|
| scoped_refptr<ChromeFrameAutomationClient> automation_client_;
|
|
|