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

Unified Diff: chrome/browser/chromeos/display/quirks_client_delegate_impl.h

Issue 1528963002: Quirks Client for downloading and providing display profiles (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Refactor manager and delegate Created 4 years, 11 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
Index: chrome/browser/chromeos/display/quirks_client_delegate_impl.h
diff --git a/chrome/browser/chromeos/display/quirks_client_delegate_impl.h b/chrome/browser/chromeos/display/quirks_client_delegate_impl.h
new file mode 100644
index 0000000000000000000000000000000000000000..e5358a199c564ea486ed0a92486ee8075f1f5c02
--- /dev/null
+++ b/chrome/browser/chromeos/display/quirks_client_delegate_impl.h
@@ -0,0 +1,26 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
oshima 2016/01/28 20:16:30 2016 same for other files
Greg Levin 2016/02/01 23:17:43 Done.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_CHROMEOS_DISPLAY_QUIRKS_CLIENT_DELEGATE_IMPL_H_
+#define CHROME_BROWSER_CHROMEOS_DISPLAY_QUIRKS_CLIENT_DELEGATE_IMPL_H_
+
+#include "components/quirks_client/quirks_client.h"
+
+namespace quirks_client {
+
+// Working implementation of QuirksClientManager::Delegate for access to chrome-
+// restricted parts.
+class QuirksClientDelegateImpl : public QuirksClientManager::Delegate {
+ public:
+ ~QuirksClientDelegateImpl() override {}
oshima 2016/01/28 20:16:30 = default;
Greg Levin 2016/02/01 23:17:43 Done.
+
+ // QuirksClientManager::Delegate implementation.
+ std::string api_key_quirks() override;
oshima 2016/01/28 20:16:30 GetApiKeyQuirks()
Greg Levin 2016/02/01 23:17:43 Done.
+ base::FilePath GetDisplayProfileDirectory() override;
+ int GetDaysSinceOobe() override;
oshima 2016/01/28 20:16:30 can these be const? (just a q)
Greg Levin 2016/02/01 23:17:43 They can be (and now are). Is this preferable, ev
oshima 2016/02/02 18:29:13 Yes, in general (having member or not is implement
+};
oshima 2016/01/28 20:16:30 private: DISALLOW_COPY_AND_ASSIGN
Greg Levin 2016/02/01 23:17:43 Done.
+
+} // namespace quirks_client
+
+#endif // CHROME_BROWSER_CHROMEOS_DISPLAY_QUIRKS_CLIENT_DELEGATE_IMPL_H_

Powered by Google App Engine
This is Rietveld 408576698