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

Side by Side Diff: chrome/browser/automation/testing_automation_provider.h

Issue 14316007: Remove unused |first_run| parameter in ImporterHost::CheckForFirefoxLock() which results in a casca… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge up to r196136 Created 7 years, 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/automation/testing_automation_provider.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ 5 #ifndef CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_
6 #define CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ 6 #define CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 62
63 // IPC::Listener: 63 // IPC::Listener:
64 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; 64 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE;
65 virtual void OnChannelError() OVERRIDE; 65 virtual void OnChannelError() OVERRIDE;
66 66
67 private: 67 private:
68 // Storage for ImportSettings() to resume operations after a callback. 68 // Storage for ImportSettings() to resume operations after a callback.
69 struct ImportSettingsData { 69 struct ImportSettingsData {
70 string16 browser_name; 70 string16 browser_name;
71 int import_items; 71 int import_items;
72 bool first_run;
73 Browser* browser; 72 Browser* browser;
74 IPC::Message* reply_message; 73 IPC::Message* reply_message;
75 }; 74 };
76 75
77 virtual ~TestingAutomationProvider(); 76 virtual ~TestingAutomationProvider();
78 77
79 // chrome::BrowserListObserver: 78 // chrome::BrowserListObserver:
80 virtual void OnBrowserAdded(Browser* browser) OVERRIDE; 79 virtual void OnBrowserAdded(Browser* browser) OVERRIDE;
81 virtual void OnBrowserRemoved(Browser* browser) OVERRIDE; 80 virtual void OnBrowserRemoved(Browser* browser) OVERRIDE;
82 81
(...skipping 1432 matching lines...) Expand 10 before | Expand all | Expand 10 after
1515 scoped_ptr<AutomationEventQueue> automation_event_queue_; 1514 scoped_ptr<AutomationEventQueue> automation_event_queue_;
1516 1515
1517 // List of commands which just finish synchronously and don't require 1516 // List of commands which just finish synchronously and don't require
1518 // setting up an observer. 1517 // setting up an observer.
1519 static const int kSynchronousCommands[]; 1518 static const int kSynchronousCommands[];
1520 1519
1521 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider); 1520 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider);
1522 }; 1521 };
1523 1522
1524 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ 1523 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/automation/testing_automation_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698