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

Side by Side Diff: chrome/browser/ui/app_list/test/fake_profile.h

Issue 406483004: Initial implementation of API WakeLock. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 unified diff | Download patch
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_UI_APP_LIST_TEST_FAKE_PROFILE_H_ 5 #ifndef CHROME_BROWSER_UI_APP_LIST_TEST_FAKE_PROFILE_H_
6 #define CHROME_BROWSER_UI_APP_LIST_TEST_FAKE_PROFILE_H_ 6 #define CHROME_BROWSER_UI_APP_LIST_TEST_FAKE_PROFILE_H_
7 7
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/sequenced_task_runner.h" 10 #include "base/sequenced_task_runner.h"
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 87
88 virtual PrefProxyConfigTracker* GetProxyConfigTracker() OVERRIDE; 88 virtual PrefProxyConfigTracker* GetProxyConfigTracker() OVERRIDE;
89 virtual chrome_browser_net::Predictor* GetNetworkPredictor() OVERRIDE; 89 virtual chrome_browser_net::Predictor* GetNetworkPredictor() OVERRIDE;
90 virtual DevToolsNetworkController* GetDevToolsNetworkController() OVERRIDE; 90 virtual DevToolsNetworkController* GetDevToolsNetworkController() OVERRIDE;
91 virtual void ClearNetworkingHistorySince( 91 virtual void ClearNetworkingHistorySince(
92 base::Time time, const base::Closure& completion) OVERRIDE; 92 base::Time time, const base::Closure& completion) OVERRIDE;
93 virtual GURL GetHomePage() OVERRIDE; 93 virtual GURL GetHomePage() OVERRIDE;
94 virtual bool WasCreatedByVersionOrLater(const std::string& version) OVERRIDE; 94 virtual bool WasCreatedByVersionOrLater(const std::string& version) OVERRIDE;
95 virtual void SetExitType(ExitType exit_type) OVERRIDE; 95 virtual void SetExitType(ExitType exit_type) OVERRIDE;
96 virtual ExitType GetLastSessionExitType() OVERRIDE; 96 virtual ExitType GetLastSessionExitType() OVERRIDE;
97 virtual content::WakeLockPermissionContext*
98 GetWakeLockPermissionContext() OVERRIDE;
97 99
98 private: 100 private:
99 std::string name_; 101 std::string name_;
100 base::FilePath path_; 102 base::FilePath path_;
101 }; 103 };
102 104
103 #endif // CHROME_BROWSER_UI_APP_LIST_TEST_FAKE_PROFILE_H_ 105 #endif // CHROME_BROWSER_UI_APP_LIST_TEST_FAKE_PROFILE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698